-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing deprecated
::set-env
on github actions.
- Loading branch information
1 parent
ede93a8
commit b5dcd94
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,9 @@ jobs: | |
- uses: actions/checkout@v1 | ||
|
||
- name: Set RELEASE_TAG env | ||
run: echo ::set-env name=RELEASE_TAG::$(echo ${GITHUB_REF:10}) | ||
- name: Update VERSION file with '${{ env.RELEASE_TAG }}' | ||
run: echo -n "${RELEASE_TAG:1}" > VERSION | ||
run: echo "RELEASE_TAG=${GITHUB_REF:10}" >> $GITHUB_ENV | ||
- name: Update VERSION file with '${GITHUB_REF:10}' | ||
run: echo -n "${GITHUB_REF:11}" > VERSION | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
|