From 0e36dadd565af1958b5935ef6fd9f52871ecd7bb Mon Sep 17 00:00:00 2001 From: ZJaume Date: Mon, 26 Aug 2024 09:39:52 +0000 Subject: [PATCH] GA: upload model artifacts to release --- .github/workflows/release.yml | 6 ++++++ Cargo.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fde6d20..f57698e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -101,3 +101,9 @@ jobs: 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 diff --git a/Cargo.toml b/Cargo.toml index 6674d3b..4809097 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "heliport" -version = "0.4.1" +version = "0.4.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html