Skip to content

Commit 05e4e11

Browse files
committed
tritony==0.0.17 with CI-wheels.yml
1 parent 838b393 commit 05e4e11

File tree

2 files changed

+54
-1
lines changed

2 files changed

+54
-1
lines changed

.github/workflows/wheels.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
8+
jobs:
9+
build_dist:
10+
name: Build source distribution
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Build dist and wheel
16+
run: pipx run build --sdist --wheel
17+
18+
- uses: actions/upload-artifact@v4
19+
with:
20+
name: cibw-dist
21+
path: dist/*
22+
23+
upload_pypi:
24+
needs: [build_dist]
25+
runs-on: ubuntu-latest
26+
environment: release
27+
permissions:
28+
id-token: write
29+
steps:
30+
- uses: actions/download-artifact@v4
31+
with:
32+
pattern: cibw-*
33+
path: dist
34+
merge-multiple: true
35+
36+
- uses: pypa/gh-action-pypi-publish@release/v1
37+
# with:
38+
# repository-url: https://test.pypi.org/legacy/
39+
40+
upload_release:
41+
needs: [build_dist]
42+
runs-on: ubuntu-latest
43+
steps:
44+
- uses: actions/download-artifact@v4
45+
with:
46+
pattern: cibw-*
47+
path: dist
48+
merge-multiple: true
49+
50+
- name: Release
51+
uses: softprops/action-gh-release@v1
52+
with:
53+
files: dist/*

tritony/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.0.16"
1+
__version__ = "0.0.17"

0 commit comments

Comments
 (0)