diff --git a/.gitea/workflows/gentoo-utils.yml b/.gitea/workflows/gentoo-utils.yml index 9888141..3c20253 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