enabling the publish step for snapshot releases (#4746)

This commit is contained in:
Tony Sullivan 2022-09-13 21:07:32 +00:00 committed by GitHub
parent 638dac9c79
commit 38eec3a56a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);