From ddddc31f3d5f2a1e5ae62bc5e1ca9ca659c00b84 Mon Sep 17 00:00:00 2001 From: Alec Blance <17378596+AlecBlance@users.noreply.github.com> Date: Sun, 20 Oct 2024 18:15:17 +0800 Subject: [PATCH] fix: :green_heart: missing publish command --- .github/workflows/publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e3e3194..eaeb8c1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,13 +27,14 @@ jobs: - name: Create Release Pull Request id: changesets uses: changesets/action@v1 + with: + publish: pnpm build env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload assets if: steps.changesets.outputs.hasChangesets == 'false' run: | - version=v${{ steps.changesets.outputs.publishedversions[0].version }} - pnpm build + version=v${{ steps.changesets.outputs.publishedPackages[0].version }} zip -r ${version}.zip . gh release upload ${version} ${version}.zip env: