From 49006da07720c137b658f260d3f540fafae90de0 Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Mon, 12 Sep 2022 14:43:45 -0700 Subject: [PATCH] Update snapshot-release.yml --- .github/workflows/snapshot-release.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index 02ac27af1c..ade8d24d6a 100644 --- a/.github/workflows/snapshot-release.yml +++ b/.github/workflows/snapshot-release.yml @@ -60,19 +60,16 @@ jobs: - name: Build Packages run: pnpm run build - - name: Get result - run: echo "${{steps.set-result.outputs.result}}" - - name: Bump Package Versions id: changesets - run: npx changeset version --snapshot ${{ steps.getSnapshotName.outputs.result }} + run: echo "::set-output name=result::$(npx changeset version --snapshot ${{ steps.getSnapshotName.outputs.result }})" env: # Needs access to run the script GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # - name: Publish Release # id: publish -# run: pnpm run release --tag next--${{ steps.getSnapshotName.outputs.result }} +# run: echo "::set-output name=result::$(pnpm run release --tag next--${{ steps.getSnapshotName.outputs.result }})" # env: # # Needs access to publish to npm # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -80,7 +77,7 @@ jobs: - name: Pull Request Notification uses: actions/github-script@v6 env: - MESSAGE: ${{ steps.changesets.outputs.publish }} + MESSAGE: ${{ steps.changesets.outputs.result }} with: script: | console.log(process.env.MESSAGE);