Skip to content

Commit

Permalink
👷 Update Upload Artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
luoshuijs committed Oct 21, 2023
1 parent c2a3b30 commit be62d46
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 --out ./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:
Expand Down

0 comments on commit be62d46

Please sign in to comment.