Skip to content

Commit

Permalink
Update to new way of setting output in GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aplaice committed Nov 22, 2024
1 parent 446a9a0 commit 3176f06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zip_decks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ do
build_paths="$build_paths build/$standard_zip build/$extended_zip build/$experimental_zip"
done

# Magic cookie for setting value https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#example-setting-a-value
echo '::set-output name=DECK_PATHS::'"${build_paths}"
# Environment file for setting value https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#environment-files
# Only use if running on GitHub CI
[ -n "$GITHUB_OUTPUT" ] && echo "DECK_PATHS=${build_paths}" >> $GITHUB_OUTPUT

0 comments on commit 3176f06

Please sign in to comment.