From 329bb1da33caf299fc49b5e39916cf84949177df Mon Sep 17 00:00:00 2001 From: Alec Blance <17378596+AlecBlance@users.noreply.github.com> Date: Sun, 20 Oct 2024 18:59:22 +0800 Subject: [PATCH] ci: :green_heart: missing `cd dist` command --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bcaf3dd..8a23cc3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -35,6 +35,7 @@ jobs: if: steps.changesets.outputs.hasChangesets == 'false' run: | version=v${{ fromJson(steps.changesets.outputs.publishedPackages)[0].version }} + cd dist zip -r ${version}.zip . gh release upload ${version} ${version}.zip env: