From 18d8031b1ec9310e7356fec180e86dec72a6773d Mon Sep 17 00:00:00 2001 From: Je Xia Date: Sun, 15 Dec 2024 21:01:28 +0800 Subject: [PATCH] Update release action --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22a3185..4e631a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,9 +59,10 @@ jobs: path: cjs-module-lexer-${{ matrix.target }} if-no-files-found: error - release: - needs: build + publish: + name: Publish runs-on: ubuntu-latest + needs: build steps: - name: Checkout @@ -82,5 +83,5 @@ jobs: - name: Publish Release uses: softprops/action-gh-release@v2 with: - files: .artifact/cjs-module-lexer-*.gz body_path: release-note.txt + files: .artifact/cjs-module-lexer-*.gz