We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f74663 commit 7658649Copy full SHA for 7658649
.github/workflows/release.yml
@@ -0,0 +1,32 @@
1
+name: Release
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - latest
7
8
+permissions:
9
+ contents: write
10
11
+jobs:
12
+ release:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - uses: actions/checkout@v3
17
18
+ - name: Set up Python 3
19
+ id: setup-python
20
+ uses: actions/setup-python@v4
21
+ with:
22
+ python-version: "3.x"
23
24
+ - name: Create packages
25
+ run: python package.py
26
27
+ - name: Upload packages
28
+ env:
29
+ GITHUB_TOKEN: ${{ github.TOKEN }}
30
+ run: |
31
+ gh release delete latest -y
32
+ gh release create latest --latest --title 'latest' *.pyz
0 commit comments