From 3a8b392c39e5ba1197f65c77ba94c07b3766ea64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Sun, 22 Oct 2023 01:03:38 +0800 Subject: [PATCH] :construction_worker: Update Upload Artifact --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b82fdbf..4df400c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,15 +67,14 @@ jobs: run: | source activate_env.sh cd python_genshin_artifact_core - maturin build - mv target/wheels/*.whl genshin_artifact_core-${{ matrix.python-version }}-${{ matrix.os }}.whl + maturin build --output ./dist - name: Upload Artifact if: github.ref == 'refs/heads/main' uses: actions/upload-artifact@v3 with: - name: genshin_artifact_core-${{ matrix.python-version }}-${{ matrix.os }}.whl - path: python_genshin_artifact_core/genshin_artifact_core-${{ matrix.python-version }}-${{ matrix.os }}.whl + name: genshin_artifact_core-${{ matrix.python-version }}-${{ matrix.os }} + path: python_genshin_artifact_core/dist/*.whl build-artifact: