From cf23641cfe1e14479e19b384917b8d4404a0f3da Mon Sep 17 00:00:00 2001 From: penguin Date: Sat, 27 Dec 2025 11:32:01 -0600 Subject: [PATCH] update cache --- .gitea/workflows/gentoo-utils.yml | 37 ++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/gentoo-utils.yml b/.gitea/workflows/gentoo-utils.yml index 9888141..0ef43fb 100644 --- a/.gitea/workflows/gentoo-utils.yml +++ b/.gitea/workflows/gentoo-utils.yml @@ -15,12 +15,6 @@ jobs: runs-on: ubuntu-latest continue-on-error: true steps: - - name: Restore git cache - uses: actions/cache@v4 - with: - path: .git - key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }} - - name: Checkout repo uses: actions/checkout@v5 with: @@ -97,6 +91,12 @@ jobs: container: image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }} steps: + - name: Restore git cache + uses: actions/cache@v4 + with: + path: .git + key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }} + - name: Checkout repo uses: actions/checkout@v5 @@ -116,6 +116,11 @@ jobs: container: image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }} steps: + - name: Restore git cache + uses: actions/cache@v4 + with: + path: .git + key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }} - name: Checkout repo uses: actions/checkout@v5 @@ -135,6 +140,11 @@ jobs: container: image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }} steps: + - name: Restore git cache + uses: actions/cache@v4 + with: + path: .git + key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }} - name: Checkout repo uses: actions/checkout@v5 @@ -163,6 +173,11 @@ jobs: container: image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }} steps: + - name: Restore git cache + uses: actions/cache@v4 + with: + path: .git + key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }} - name: Checkout repo uses: actions/checkout@v5 @@ -178,6 +193,11 @@ jobs: container: image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }} steps: + - name: Restore git cache + uses: actions/cache@v4 + with: + path: .git + key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }} - name: Checkout repo uses: actions/checkout@v5 @@ -192,6 +212,11 @@ jobs: container: image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }} steps: + - name: Restore git cache + uses: actions/cache@v4 + with: + path: .git + key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }} - name: Checkout repo uses: actions/checkout@v5