Skip to content

Commit 8bfd2d4

Browse files
authored
Merge pull request #60 from ethereum/remove-deprecated-set-env-from-github-actions
Remove deprecated set-env from github actions
2 parents 22adb2c + b3d86ba commit 8bfd2d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/nightly-emscripten.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ jobs:
4949
)"
5050
nightly_version="v${solidity_version}-nightly.${last_commit_date}+commit.${last_commit_hash}"
5151
52-
echo "::set-env name=SOLIDITY_VERSION::${solidity_version}"
53-
echo "::set-env name=NIGHTLY_VERSION::${nightly_version}"
52+
echo "SOLIDITY_VERSION=${solidity_version}" >> $GITHUB_ENV
53+
echo "NIGHTLY_VERSION=${nightly_version}" >> $GITHUB_ENV
5454
5555
# There's no way to just stop a job without failing and that would spam everyone with
5656
# spurious e-mail notifications about the failure. Instead we have to make do with `if`s.
57-
echo "::set-env name=MATCHING_NIGHTLIES_IN_THE_REPO::${matching_nightlies_in_the_repo}"
57+
echo "MATCHING_NIGHTLIES_IN_THE_REPO=${matching_nightlies_in_the_repo}" >> $GITHUB_ENV
5858
5959
- name: Build soljson.js
6060
if: "!env.MATCHING_NIGHTLIES_IN_THE_REPO"

0 commit comments

Comments
 (0)