Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Nov 22, 2023
1 parent 39e27a1 commit 2c7282f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ jobs:
- os: macOS-latest
arch: x86
steps:
- run: echo '${{ toJSON(matrix || '') }}' | jq -r 'to_entries | map("\(.value)") | "matrix-string=" + join("-")' >> $GITHUB_OUTPUT
- run: |
echo '${{ toJSON(matrix || '') }}' | jq -r 'to_entries | map("\(.value)") | "matrix-string=" + join("-")' >> $GITHUB_OUTPUT
echo "restore-key=$matrix-string" >> $GITHUB_OUTPUT
id: foo
shell: bash
- run: echo "${{ steps.foo.outputs.matrix-string }}"
- run: |
echo "${{ steps.foo.outputs.matrix-string }}"
echo "${{ steps.foo.outputs.restore-key }}"
shell: bash
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
Expand Down

0 comments on commit 2c7282f

Please sign in to comment.