diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 53a090a..913933f 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -14,15 +14,11 @@ jobs: - uses: actions/checkout@v4 - name: install pnpm run: npm install -g pnpm - - name: get npm cache directory - id: pnpm-cache-dir - shell: bash - run: pnpm config set store-dir .pnpm-store - uses: actions/cache@v3 id: pnpm-cache name: restore pnpm cache with: - path: .pnpm-store + path: ~/.pnpm-store key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-pnpm- @@ -32,7 +28,7 @@ jobs: name: save pnpm cache if: steps.pnpm-cache.outputs.cache-hit != 'true' with: - path: .pnpm-store + path: ~/.pnpm-store key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml) }} - uses: actions/cache@v3 id: nuget-cache