Skip to content

Commit

Permalink
use latest env syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamkrishnar authored Jan 11, 2021
1 parent 4ba1427 commit 18c6dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-to-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set env
run: echo ::set-env name=pkg_version::$(awk '/version/{gsub(/("|",)/,"",$2);print $2}' package.json)
run: echo "pkg_version=$(awk '/version/{gsub(/("|",)/,"",$2);print $2}' package.json)" >> $GITHUB_ENV
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit 18c6dc9

Please sign in to comment.