Skip to content

Commit 043d692

Browse files
authored
Try release workflow
1 parent 64d92a2 commit 043d692

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/release.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: build-release
2+
3+
on: release
4+
5+
jobs:
6+
build-release-Windows:
7+
name: Build and upload binaries for Swish
8+
runs-on: windows-latest
9+
steps:
10+
- name: Pull source
11+
uses: actions/checkout@v2
12+
13+
- name: Setup Python
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: 3.x
17+
18+
- name: Install Deps
19+
run: |
20+
python -m ensurepip
21+
pip install setuptools
22+
pip install -r native/requirements-dev.txt
23+
pip install -r native/requirements.txt
24+
pip install -r requirements-dev.txt
25+
pip install -r requirements.txt
26+
27+
- name: Build swish
28+
run: |
29+
python build.py --no-deps
30+
31+
- name: Upload to release
32+
uses: JasonEtco/upload-to-release@master
33+
with:
34+
args: dist/swish.exe
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)