Skip to content

Commit

Permalink
GA: upload model artifacts before PyPi release
Browse files Browse the repository at this point in the history
  • Loading branch information
ZJaume committed Aug 26, 2024
1 parent 0e36dad commit d441fe8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ jobs:
- uses: actions/download-artifact@v4
- name: Display downloaded files
run: ls -R
- name: Archive model files
run: for i in models-*; do tar czvf $i.tgz $i/*; done
- name: Upload Github release assets
uses: softprops/action-gh-release@v2
with:
files: models-*.tgz
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
MATURIN_REPOSITORY: testpypi
with:
command: upload
args: --non-interactive --skip-existing wheels-*/*
- name: Archive model files
run: for i in models-*; do tar czvf $i.tgz $i/*; done
- name: Upload Github release assets
uses: softprops/action-gh-release@v2
with:
files: models-*.tgz
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "heliport"
version = "0.4.2"
version = "0.4.3"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit d441fe8

Please sign in to comment.