Skip to content

Commit

Permalink
ci_env.sh: Switch over to newer method of setting github job output
Browse files Browse the repository at this point in the history
  • Loading branch information
hjpotter92 authored and yondonfu committed Nov 30, 2022
1 parent d91ccf4 commit 0dc5f34
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ci_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Script to populate some environment variables in various CI processes. Should be
# invoked by `ci_env.sh [script-name]`.

set -e
set -eo pipefail

# Populate necessary Windows build path stuff
if [[ $(uname) == *"MSYS"* ]]; then
Expand Down Expand Up @@ -55,6 +55,8 @@ if [[ $generatedVersion != $definedVersion ]]; then
export BUILD_TAGS="${BUILD_TAGS},experimental"
fi

echo "::set-output name=build-tags::${BUILD_TAGS}"
if [[ "$CI" == "true" ]]; then
echo "build-tags=${BUILD_TAGS}" >>"$GITHUB_OUTPUT"
fi

exec "$@"

0 comments on commit 0dc5f34

Please sign in to comment.