diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index 8a46e2b..ca2511e 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -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 @@ -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