Skip to content

Commit f0999f5

Browse files
Merge pull request #75 from chrisjbillington/master
Do not use deprecated set-env command
2 parents 8371585 + 7d14b65 commit f0999f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ jobs:
110110
else
111111
CONDA_BUILD_ARGS=""
112112
fi
113-
echo "::set-env name=CONDA_INSTALLER::$CONDA_INSTALLER"
114-
echo "::set-env name=CONDA_BUILD_ARGS::$CONDA_BUILD_ARGS"
113+
echo "CONDA_INSTALLER=$CONDA_INSTALLER" >> $GITHUB_ENV
114+
echo "CONDA_BUILD_ARGS=$CONDA_BUILD_ARGS" >> $GITHUB_ENV
115115
116116
- name: Conda package (Unix)
117117
if: runner.os != 'Windows'
@@ -210,7 +210,7 @@ jobs:
210210
if: github.event.ref_type == 'tag'
211211
run: |
212212
VERSION="${GITHUB_REF/refs\/tags\/v/}"
213-
echo "::set-env name=VERSION::$VERSION"
213+
echo "VERSION=$VERSION" >> $GITHUB_ENV
214214
215215
- name: Create GitHub Release
216216
if: github.event.ref_type == 'tag'

0 commit comments

Comments
 (0)