Skip to content

Commit 084e409

Browse files
committed
feat: use gh artifacts and bump version
1 parent 998efbf commit 084e409

3 files changed

Lines changed: 25 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@ jobs:
117117
mkdir -p artifacts
118118
cp target/x86_64-unknown-linux-gnu/release/nnli artifacts/nnli-linux-x86_64
119119
120+
- name: Upload Linux Artifacts
121+
uses: actions/upload-artifact@v2
122+
with:
123+
name: linux-artifacts
124+
path: artifacts/*
125+
120126
build-osx:
121127
needs: create-version-branch
122128
if: needs.create-version-branch.outputs.VERSION_UPDATED == 'true'
@@ -142,13 +148,30 @@ jobs:
142148
mkdir -p artifacts
143149
cp target/x86_64-apple-darwin/release/nnli artifacts/nnli-macos-x86_64
144150
151+
- name: Upload MacOS Artifacts
152+
uses: actions/upload-artifact@v2
153+
with:
154+
name: macos-artifacts
155+
path: artifacts/*
156+
145157
create-release:
146158
needs:
147159
- build
148160
- build-osx
149161
if: needs.create-version-branch.outputs.VERSION_UPDATED == 'true'
150162
runs-on: ubuntu-latest
151163
steps:
164+
- name: Download Linux Artifacts
165+
uses: actions/download-artifact@v2
166+
with:
167+
name: linux-artifacts
168+
path: artifacts/
169+
170+
- name: Download MacOS Artifacts
171+
uses: actions/download-artifact@v2
172+
with:
173+
name: macos-artifacts
174+
path: artifacts/
152175

153176
- name: Create Release
154177
uses: softprops/action-gh-release@v1

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nnli"
3-
version = "0.0.20"
3+
version = "0.0.21"
44
edition = "2021"
55
description = "🔭 interactively explore `onnx` networks in your CLI."
66
license = "MIT"

0 commit comments

Comments
 (0)