Skip to content

Commit

Permalink
fix ci: replace deprecated set-output with env files
Browse files Browse the repository at this point in the history
  • Loading branch information
jangko committed Aug 2, 2023
1 parent dd13e50 commit 82cfffd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,23 +125,23 @@ jobs:
}
nimHash=$(getHash nim-lang/Nim devel)
csourcesHash=$(getHash nim-lang/csources_v2)
echo "::set-output name=nim::$nimHash"
echo "::set-output name=csources::$csourcesHash"
echo "nimHash=$nimHash" >> $GITHUB_OUTPUT
echo "csourcesHash=$csourcesHash" >> $GITHUB_OUTPUT
- name: Restore prebuilt Nim from cache
id: nim-cache
uses: actions/cache@v3
with:
path: nim
key: 'nim-${{ matrix.target.os }}-${{ matrix.target.cpu }}-${{ steps.versions.outputs.nim }}'
key: 'nim-${{ matrix.target.os }}-${{ matrix.target.cpu }}-${{ steps.versions.outputs.nimHash }}'

- name: Restore prebuilt csources from cache
if: steps.nim-cache.outputs.cache-hit != 'true'
id: csources-cache
uses: actions/cache@v3
with:
path: csources/bin
key: 'csources-${{ matrix.target.os }}-${{ matrix.target.cpu }}-${{ steps.versions.outputs.csources }}'
key: 'csources-${{ matrix.target.os }}-${{ matrix.target.cpu }}-${{ steps.versions.outputs.csourcesHash }}'

- name: Checkout Nim csources
if: >
Expand Down

0 comments on commit 82cfffd

Please sign in to comment.