diff options
author | 2022-09-13 21:07:32 +0000 | |
---|---|---|
committer | 2022-09-13 21:07:32 +0000 | |
commit | 38eec3a56a2597309f581c87b3a03c291cd15095 (patch) | |
tree | 7503b851041bad3e3e6d515908ac6f622c9a3a13 | |
parent | 638dac9c797e0bbf1b86a5a443b18a445fd9261a (diff) | |
download | astro-38eec3a56a2597309f581c87b3a03c291cd15095.tar.gz astro-38eec3a56a2597309f581c87b3a03c291cd15095.tar.zst astro-38eec3a56a2597309f581c87b3a03c291cd15095.zip |
enabling the publish step for snapshot releases (#4746)
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/snapshot-release.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index b876a7acf..5f3a5fd46 100644 --- a/.github/workflows/snapshot-release.yml +++ b/.github/workflows/snapshot-release.yml @@ -73,17 +73,17 @@ jobs: # Needs access to run the script GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# - name: Publish Release -# id: publish -# 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 }} + - name: Publish Release + id: publish + 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 }} - name: Pull Request Notification uses: actions/github-script@v6 env: - MESSAGE: ${{ steps.changesets.outputs.result }} + MESSAGE: ${{ steps.publish.outputs.result }} with: script: | console.log(process.env.MESSAGE); |