Skip to content

Commit 95a05b1

Browse files
committed
fix set output command
The wrong environment variable was used when updates from "set-output".
1 parent dd69679 commit 95a05b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-and-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
id: anaconda-tag
2323
run:
2424
if [[ $GITHUB_REF == 'refs/heads/master' ]]; then
25-
echo "tag=dev" >> $GITOUTPUT_ENV;
25+
echo "tag=dev" >> $GITHUB_OUTPUT;
2626
elif [[ $GITHUB_REF =~ refs/tags/* ]]; then
27-
echo "tag=main" >> $GITOUTPUT_ENV;
27+
echo "tag=main" >> $GITHUB_OUTPUT;
2828
fi
2929
build-windows:
3030
strategy:

0 commit comments

Comments
 (0)