Skip to content

Commit

Permalink
Fixing deprecated ::set-env on github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomanuel committed Nov 19, 2020
1 parent ede93a8 commit b5dcd94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b5dcd94

Please sign in to comment.