Skip to content

Commit

Permalink
Deprecating the set-env method of github action. (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
gguridi authored Nov 19, 2022
1 parent eb2b1a2 commit adb9591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: set version envvar
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:11})
run: echo "RELEASE_VERSION=$(echo ${GITHUB_REF:11})" >> $GITHUB_ENV
- name: set release version on package.json
run: sed -i.bak 's/0\.0\.0/'$RELEASE_VERSION'/g' package.json
- name: check package
Expand All @@ -54,7 +54,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: set version envvar
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:11})
run: echo "RELEASE_VERSION=$(echo ${GITHUB_REF:11})" >> $GITHUB_ENV
- uses: actions/setup-node@v3
with:
node-version: 16
Expand Down

0 comments on commit adb9591

Please sign in to comment.