There was an error while loading. Please reload this page.
1 parent 3b324c3 commit 7a2c0a7Copy full SHA for 7a2c0a7
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,44 @@
1
+name: Release
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "*"
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-24.04
11
+ steps:
12
+ - uses: actions/checkout@v6
13
14
+ - name: Set up Python
15
+ uses: actions/setup-python@v6
16
+ with:
17
+ python-version: "3.14"
18
19
+ - name: Install build tool
20
+ run: python -m pip install build
21
22
+ - name: Build distributions
23
+ run: python -m build
24
25
+ - uses: actions/upload-artifact@v4
26
27
+ name: dist
28
+ path: dist/
29
30
+ github-release:
31
+ needs: build
32
33
+ permissions:
34
+ contents: write
35
36
+ - uses: actions/download-artifact@v4
37
38
39
40
41
+ - uses: softprops/action-gh-release@v2
42
43
+ files: dist/*
44
+ prerelease: ${{ contains(github.ref, '-rc') }}
0 commit comments