Show More
@@ -0,0 +1,31 b'' | |||
|
1 | name: Github releases | |
|
2 | ||
|
3 | on: | |
|
4 | push: | |
|
5 | tags: | |
|
6 | - '*.*.*' | |
|
7 | ||
|
8 | jobs: | |
|
9 | build: | |
|
10 | runs-on: ubuntu-latest | |
|
11 | steps: | |
|
12 | - name: Checkout | |
|
13 | uses: actions/checkout@v2 | |
|
14 | - name: Set up Python 3.9 | |
|
15 | uses: actions/setup-python@v2 | |
|
16 | with: | |
|
17 | python-version: 3.9 | |
|
18 | ||
|
19 | - name: Make packages | |
|
20 | run: | | |
|
21 | pip install --upgrade setuptools wheel | |
|
22 | rm -rf dist/ | |
|
23 | python setup.py sdist | |
|
24 | python setup.py bdist_wheel | |
|
25 | ||
|
26 | - name: Github release | |
|
27 | uses: softprops/action-gh-release@v1 | |
|
28 | with: | |
|
29 | files: dist/* | |
|
30 | env: | |
|
31 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
General Comments 0
You need to be logged in to leave comments.
Login now