diff options
author | 2022-09-12 14:43:45 -0700 | |
---|---|---|
committer | 2022-09-12 14:43:45 -0700 | |
commit | 49006da07720c137b658f260d3f540fafae90de0 (patch) | |
tree | dc72c281ef72a62682e24543fb00bcc9b924f20f | |
parent | 9558e2c810ed8aede9ad1ec6b79704b044180254 (diff) | |
download | astro-49006da07720c137b658f260d3f540fafae90de0.tar.gz astro-49006da07720c137b658f260d3f540fafae90de0.tar.zst astro-49006da07720c137b658f260d3f540fafae90de0.zip |
Update snapshot-release.yml
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/snapshot-release.yml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index 02ac27af1..ade8d24d6 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); |