Skip to content
Source
Sign inSign up
TanStack/cli

fix(ci): verify published tarballs in a retryable release job #530

Opentannerlinsleywants to merge 2 commits intomain fromtaren/verify-release-artifactsopened

Showing 7 changed files with 119 additions and 5 deletions (loading 5).

x
0 of 7 viewed, 7 left
33 additions and 4 deletions.github/workflows/release.ymlModified
View file
@@ -23,6 +23,11 @@
contents: write
id-token: write
pull-requests: write
+ outputs:
+ published: ${{ steps.changesets.outputs.published }}
+ packages: ${{ steps.changesets.outputs.publishedPackages }}
+ prerelease: ${{ steps.dist-tag.outputs.prerelease }}
+ latest: ${{ steps.dist-tag.outputs.latest }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -77,11 +82,35 @@
commit: 'ci: changeset release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ verify-release:
+ name: Verify Published Release
+ needs: release
+ if: needs.release.outputs.published == 'true'
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ steps:
+ - name: Checkout
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ fetch-depth: 0
+ persist-credentials: false