Skip to content

Commit

Permalink
ci: Use GITHUB_OUTPUT envvar instead of set-output command
Browse files Browse the repository at this point in the history
  • Loading branch information
arunsathiya committed Jan 12, 2024
1 parent a0af611 commit e675296
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/monthly_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
git config user.name github-actions
git config user.email [email protected]
semantic-release version
echo ::set-output name=version::$(semantic-release print-version --current)
echo "version=$(semantic-release print-version --current)" >> $GITHUB_OUTPUT
semantic-release changelog > './CHANGELOG.md'
- name: Create release pull request
uses: peter-evans/create-pull-request@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
id: vers
run: |
pip install python-semantic-release
echo ::set-output name=version::$(semantic-release print-version --current)
echo "version=$(semantic-release print-version --current)" >> $GITHUB_OUTPUT
- name: Create release
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit e675296

Please sign in to comment.