diff --git a/.gitea/workflows/gitea-ci.yml b/.gitea/workflows/gitea-ci.yml index dc65c5c..3c7954f 100644 --- a/.gitea/workflows/gitea-ci.yml +++ b/.gitea/workflows/gitea-ci.yml @@ -26,16 +26,9 @@ jobs: uses: actions/cache@v4 with: path: node_modules - key: yarn-cache-minio-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/yarn.lock') }} restore-keys: | - yarn-cache- - - - name: Restore dist - id: cache-dist - uses: actions/cache@v4 - with: - path: dist - key: dist-cache-minio-${{ github.ref_name }}-${{ hashFiles('**/*.ts') }} + ${{ runner.os }}-yarn-v1- - name: Install Dependencies with yarn if: steps.cache-node.outputs.cache-hit != 'true' @@ -44,7 +37,6 @@ jobs: ls . - name: Build Nestjs project - if: steps.cache-dist.outputs.cache-hit != 'true' run: | yarn build ls .