Skip to content

Commit 0190eae

Browse files
author
Codex
committed
CI: add release build matrix and artifacts
1 parent 9be389b commit 0190eae

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ env:
1111

1212
jobs:
1313
build:
14-
name: Lint and Test
14+
name: Lint, Test, and Build (${{ matrix.os }})
1515
runs-on: ${{ matrix.os }}
1616
strategy:
17-
fail-fast: false
18-
matrix:
19-
os: [ubuntu-latest, windows-latest]
17+
fail-fast: false
18+
matrix:
19+
os: [ubuntu-latest, macos-latest, windows-latest]
2020

2121
steps:
2222
- name: Checkout
@@ -46,3 +46,15 @@ jobs:
4646

4747
- name: Cargo test
4848
run: cargo test
49+
50+
- name: Cargo build (release)
51+
run: cargo build --release
52+
53+
- name: Upload artifact
54+
uses: actions/upload-artifact@v4
55+
with:
56+
name: ollama-rename-${{ runner.os }}
57+
path: |
58+
target/release/ollama-rename.exe
59+
target/release/ollama-rename
60+
if-no-files-found: ignore

0 commit comments

Comments
 (0)