diff --git a/.github/workflows/cron-third-party.yml b/.github/workflows/cron-third-party.yml index 688751121..abc6c354b 100644 --- a/.github/workflows/cron-third-party.yml +++ b/.github/workflows/cron-third-party.yml @@ -30,8 +30,8 @@ jobs: - uses: actions/download-artifact@v4 name: Download last version tested with: - name: /${{ github.workspace }}/cache-last-version-${{ matrix.lib }} - path: /${{ github.workspace }}/ + name: cache-last-version-${{ matrix.lib }} + path: ${{ github.workspace }}/ continue-on-error: true - uses: actions/setup-node@v4 @@ -58,7 +58,7 @@ jobs: - id: compare-version name: Compare last version with NPM's version run: | - LAST_VERSION=$(cat /${{ github.workspace }}/cache-last-version-${{ matrix.lib }}2>/dev/null || echo '0.0.0') + LAST_VERSION=$(cat ${{ github.workspace }}/cache-last-version-${{ matrix.lib }}2>/dev/null || echo '0.0.0') FETCHED_VERSION="${{ steps.npm-version.outputs.result }}" echo "Validating last version: $LAST_VERSION ..." @@ -89,7 +89,7 @@ jobs: - id: save-version name: Save the tested version run: | - echo $VERSION_TO_SAVE >> /${{ github.workspace }}/cache-last-version-${{ matrix.lib }} + echo $VERSION_TO_SAVE >> ${{ github.workspace }}/cache-last-version-${{ matrix.lib }} env: VERSION_TO_SAVE: ${{ steps.npm-version.outputs.result }} @@ -97,4 +97,4 @@ jobs: name: Upload version with: name: cache-last-version-${{ matrix.lib }} - path: /${{ github.workspace }}/ + path: ${{ github.workspace }}/cache-last-version-${{ matrix.lib }}