Skip to content

Commit

Permalink
Remove use of ::set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
HexedHero authored Feb 7, 2024
1 parent fe1f0a3 commit d0ab113
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
exclusions: "*.git* /*.github/* install.bat"
- name: Get version
id: get_version
run: echo "::set-output name=version::$(echo ${{ github.event.head_commit.message }} | awk '{print $2}')"
run: echo "VERSION=$(echo ${{ github.event.head_commit.message }} | awk '{print $2}')" >> $GITHUB_OUTPUT
- name: Get changelog
id: get_changelog
uses: mindsers/changelog-reader-action@v2
Expand All @@ -36,7 +36,7 @@ jobs:
run: |
TAG_NAME=${{ steps.get_changelog.outputs.version }}
git tag $TAG_NAME
echo "::set-output name=tag_name::$TAG_NAME"
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_OUTPUT
git push origin --tags
- name: Create/update release
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit d0ab113

Please sign in to comment.