mirror of
https://github.com/julia-actions/cache.git
synced 2026-02-12 01:16:54 +08:00
Remove deprecated set-output command (#32)
* Remove deprecated set-output command See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ & https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter * Update action.yml Co-authored-by: Rik Huijzer <t.h.huijzer@rug.nl> Co-authored-by: Rik Huijzer <t.h.huijzer@rug.nl>
This commit is contained in:
@@ -47,7 +47,7 @@ runs:
|
|||||||
${{ runner.os }}-test-${{ inputs.cache-name }}-
|
${{ runner.os }}-test-${{ inputs.cache-name }}-
|
||||||
|
|
||||||
- id: hit
|
- id: hit
|
||||||
run: echo "::set-output name=cache-hit::$(echo $CACHE_HIT)"
|
run: echo "cache-hit=$CACHE_HIT" >> $GITHUB_OUTPUT
|
||||||
env:
|
env:
|
||||||
CACHE_HIT: ${{ steps.cache.outputs.cache-hit }}
|
CACHE_HIT: ${{ steps.cache.outputs.cache-hit }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user