diff --git a/.github/workflows/bump_version.yml b/.github/workflows/bump_version.yml index cd6b777..83be416 100644 --- a/.github/workflows/bump_version.yml +++ b/.github/workflows/bump_version.yml @@ -34,8 +34,7 @@ jobs: else NEW_VERSION=$(cz bump --dry-run --yes --increment PATCH --list | grep new_version | sed -r s,"^.*=",,) fi - echo "New version would be: $NEW_VERSION" - echo "::set-output name=new_version::$NEW_VERSION" + echo "new_version=$NEW_VERSION" >> $GITHUB_ENV - name: Comment PR uses: actions/github-script@v6 @@ -46,7 +45,7 @@ jobs: issue_number: context.issue.number, owner: 'dougollerenshaw', repo: 'CodeAIde', - body: `When merged, this PR will bump the version to: ${{ steps.preview.outputs.new_version }}` + body: `When merged, this PR will bump the version to: ${process.env.new_version}` }) bump-version: