Skip to content

Commit 7d14b65

Browse files
Do not use deprecated set-env command
1 parent 2c7deba commit 7d14b65

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
@@ -111,8 +111,8 @@ jobs:
111111
else
112112
CONDA_BUILD_ARGS=""
113113
fi
114-
echo "::set-env name=CONDA_INSTALLER::$CONDA_INSTALLER"
115-
echo "::set-env name=CONDA_BUILD_ARGS::$CONDA_BUILD_ARGS"
114+
echo "CONDA_INSTALLER=$CONDA_INSTALLER" >> $GITHUB_ENV
115+
echo "CONDA_BUILD_ARGS=$CONDA_BUILD_ARGS" >> $GITHUB_ENV
116116
117117
- name: Conda package (Unix)
118118
if: runner.os != 'Windows'
@@ -211,7 +211,7 @@ jobs:
211211
if: github.event.ref_type == 'tag'
212212
run: |
213213
VERSION="${GITHUB_REF/refs\/tags\/v/}"
214-
echo "::set-env name=VERSION::$VERSION"
214+
echo "VERSION=$VERSION" >> $GITHUB_ENV
215215
216216
- name: Create GitHub Release
217217
if: github.event.ref_type == 'tag'

0 commit comments

Comments
 (0)