diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index 0ae6dbd..35ce290 100644 --- a/.github/workflows/snapshot-release.yml +++ b/.github/workflows/snapshot-release.yml @@ -97,7 +97,8 @@ jobs: changesetComment=$(echo "$output" | grep -zoE 'New tag: ([^ ]+)' | sed -E 's/New tag: //g') - echo "changesetComment=$changesetComment" >> $GITHUB_OUTPUT + echo 'changeset-comment="$changesetComment"\n' >> $GITHUB_OUTPUT + echo $changesetComment env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -114,7 +115,7 @@ jobs: @${{ github.actor }} your snapshot release has been published! ``` - ${{ steps.changeset.outputs.changesetComment }} + ${{ steps.changeset.outputs.changeset-comment }} ``` - name: Send failure comment