mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
ci: fix changeset action (#12504)
This commit is contained in:
parent
3dc714ae4b
commit
c6a31e3978
1 changed files with 2 additions and 2 deletions
4
.github/workflows/snapshot-release.yml
vendored
4
.github/workflows/snapshot-release.yml
vendored
|
@ -85,6 +85,8 @@ jobs:
|
||||||
id: changesets
|
id: changesets
|
||||||
run: |
|
run: |
|
||||||
pnpm exec changeset status --output status.output.json 2>&1
|
pnpm exec changeset status --output status.output.json 2>&1
|
||||||
|
# Snapshots don't work in pre mode. See https://github.com/changesets/changesets/issues/1195
|
||||||
|
pnpm exec changeset pre exit || true
|
||||||
pnpm exec changeset version --snapshot ${{ steps.getSnapshotName.outputs.result }}
|
pnpm exec changeset version --snapshot ${{ steps.getSnapshotName.outputs.result }}
|
||||||
|
|
||||||
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
||||||
|
@ -102,8 +104,6 @@ jobs:
|
||||||
id: publish
|
id: publish
|
||||||
run: |
|
run: |
|
||||||
GITHUB_ACTIONS=0 pnpm run build > build.output.txt 2>&1
|
GITHUB_ACTIONS=0 pnpm run build > build.output.txt 2>&1
|
||||||
# Snapshots don't work in pre mode. See https://github.com/changesets/changesets/issues/1195
|
|
||||||
pnpm exec changeset pre exit || true
|
|
||||||
pnpm exec changeset publish --tag experimental--${{ steps.getSnapshotName.outputs.result }} > publish.output.txt 2>&1
|
pnpm exec changeset publish --tag experimental--${{ steps.getSnapshotName.outputs.result }} > publish.output.txt 2>&1
|
||||||
|
|
||||||
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
||||||
|
|
Loading…
Reference in a new issue