enabling the publish step for snapshot releases (#4746)
This commit is contained in:
parent
638dac9c79
commit
38eec3a56a
1 changed files with 7 additions and 7 deletions
14
.github/workflows/snapshot-release.yml
vendored
14
.github/workflows/snapshot-release.yml
vendored
|
@ -73,17 +73,17 @@ jobs:
|
||||||
# Needs access to run the script
|
# Needs access to run the script
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# - name: Publish Release
|
- name: Publish Release
|
||||||
# id: publish
|
id: publish
|
||||||
# run: echo "::set-output name=result::$(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:
|
env:
|
||||||
# # Needs access to publish to npm
|
# Needs access to publish to npm
|
||||||
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
- name: Pull Request Notification
|
- name: Pull Request Notification
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
env:
|
env:
|
||||||
MESSAGE: ${{ steps.changesets.outputs.result }}
|
MESSAGE: ${{ steps.publish.outputs.result }}
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
console.log(process.env.MESSAGE);
|
console.log(process.env.MESSAGE);
|
||||||
|
|
Loading…
Add table
Reference in a new issue