Skip to content

Commit e595d46

Browse files
committed
add publish workflow, rename test workflow to ci
1 parent 5248e49 commit e595d46

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: NiaARM
1+
name: NiaARM Tests
22

33
on:
44
push:

.github/workflows/publish.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish NiaARM to PyPI
2+
on:
3+
release:
4+
types:
5+
- published
6+
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
environment:
11+
name: pypi
12+
permissions:
13+
id-token: write
14+
contents: read
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v6
18+
- name: Install uv and set up Python
19+
uses: astral-sh/setup-uv@v7
20+
with:
21+
python-version: "3.13"
22+
- name: Build
23+
run: uv build
24+
- name: Publish
25+
run: uv publish

0 commit comments

Comments
 (0)