Skip to content

Commit

Permalink
Use $GITHUB_OUTPUT instead of ::set-output
Browse files Browse the repository at this point in the history
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

The deprecation has been postponed, but that doesn't mean it won't come ...
  • Loading branch information
timo authored Sep 16, 2024
1 parent fb46bca commit f097442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- id: set-version
run: |
RAKU_VERSION=$(ls -A -d * | egrep '^[0-9]{4}.[0-9]{2}$')
echo "::set-output name=version::$RAKU_VERSION"
echo "version=$RAKU_VERSION" >> $GITHUB_OUTPUT
echo "raku version: $RAKU_VERSION"
- id: set-matrix
run: |
Expand All @@ -34,7 +34,7 @@ jobs:
}
print join(",",@arr)
')
echo "::set-output name=matrix::[$LIST_DIR]"
echo "matrix=[$LIST_DIR]" >> $GITHUB_OUTPUT
echo "base image list: [$LIST_DIR]"
build:
needs: setup
Expand Down

0 comments on commit f097442

Please sign in to comment.