Skip to content

Commit

Permalink
fix: path
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbrugneaux committed Oct 18, 2024
1 parent f68a029 commit e654176
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cron-third-party.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 ..."
Expand Down Expand Up @@ -89,12 +89,12 @@ 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 }}

- uses: actions/upload-artifact@v4
name: Upload version
with:
name: cache-last-version-${{ matrix.lib }}
path: /${{ github.workspace }}/
path: ${{ github.workspace }}/cache-last-version-${{ matrix.lib }}

0 comments on commit e654176

Please sign in to comment.