From b8ad3d8595a2301c4f234a34a563d0f30e45a1e8 Mon Sep 17 00:00:00 2001 From: Je Xia Date: Thu, 12 Dec 2024 05:04:59 +0800 Subject: [PATCH] fix artifact --- .github/workflows/post-release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 897bbdd..bddc2b9 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -51,11 +51,14 @@ jobs: - name: Build run: cargo build -p native --release --target ${{ matrix.target }} + - name: Move build + run: mv target/${{ matrix.target }}/release/native cjs-module-lexer-${{ matrix.target }} + - name: Upload Artifact uses: actions/upload-artifact@v4 with: name: cjs-module-lexer-${{ matrix.target }} - path: target/${{ matrix.target }}/release/native + path: cjs-module-lexer-${{ matrix.target }} if-no-files-found: error release: