mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
Update snapshot-release.yml
This commit is contained in:
parent
9558e2c810
commit
49006da077
1 changed files with 3 additions and 6 deletions
9
.github/workflows/snapshot-release.yml
vendored
9
.github/workflows/snapshot-release.yml
vendored
|
@ -60,19 +60,16 @@ jobs:
|
||||||
- name: Build Packages
|
- name: Build Packages
|
||||||
run: pnpm run build
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Get result
|
|
||||||
run: echo "${{steps.set-result.outputs.result}}"
|
|
||||||
|
|
||||||
- name: Bump Package Versions
|
- name: Bump Package Versions
|
||||||
id: changesets
|
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:
|
env:
|
||||||
# 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: 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 }}
|
||||||
|
@ -80,7 +77,7 @@ jobs:
|
||||||
- name: Pull Request Notification
|
- name: Pull Request Notification
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
env:
|
env:
|
||||||
MESSAGE: ${{ steps.changesets.outputs.publish }}
|
MESSAGE: ${{ steps.changesets.outputs.result }}
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
console.log(process.env.MESSAGE);
|
console.log(process.env.MESSAGE);
|
||||||
|
|
Loading…
Reference in a new issue