Skip to content

Commit

Permalink
replace deprecated set output
Browse files Browse the repository at this point in the history
  • Loading branch information
htrinter committed Nov 26, 2023
1 parent ac63c27 commit 969817c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
run: npm run package:all
- name: Get package version
id: package_version
run: echo "::set-output name=version::$(node -p "require('./package.json').version")"
run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
- name: Extract changelog for package version
id: changelog
run: echo "::set-output name=text::$(sed -n '/## ${{ steps.package_version.outputs.version }}/,/##/{//!p}' CHANGELOG.md)"
run: echo "text=$(sed -n '/## ${{ steps.package_version.outputs.version }}/,/##/{//!p}' CHANGELOG.md)" >> $GITHUB_OUTPUT
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit 969817c

Please sign in to comment.