Skip to content

Commit 96e01ae

Browse files
committed
Apply CI fix
1 parent 7597230 commit 96e01ae

2 files changed

Lines changed: 47 additions & 2 deletions

File tree

.github/workflows/ci-test.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This workflow will build python files to exe
2+
# But only upload this file as artifacts
3+
# This workflow and whole this branch created only for tests
4+
# Please, don't download artifacts, it's not releases at all!
5+
6+
name: CI Tests
7+
8+
on:
9+
push:
10+
branches: [ CI-test ]
11+
12+
jobs:
13+
build:
14+
runs-on: windows-latest
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up Python 3.9
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: 3.9
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install -r requirements.txt
26+
pip install py2exe==0.10.4.1
27+
28+
- name: Setup PyWin32
29+
run: python "$env:pythonLocation/Scripts/pywin32_postinstall.py" -install
30+
31+
- name: Convert python files to exe using py2exe
32+
run: python setup.py py2exe
33+
34+
- name: Compress files
35+
uses: vimtor/action-zip@v1
36+
with:
37+
files: dist/
38+
dest: test_results.zip
39+
40+
- name: Upload a Build Artifact
41+
uses: actions/upload-artifact@v2.2.4
42+
with:
43+
name: test_results
44+
path: ./test_results.zip
45+
retention-days: 1

.github/workflows/python-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: |
2323
python -m pip install --upgrade pip
2424
pip install -r requirements.txt
25-
pip install py2exe
25+
pip install py2exe==0.10.4.1
2626
2727
- name: Setup PyWin32
2828
run: python "$env:pythonLocation/Scripts/pywin32_postinstall.py" -install
@@ -35,7 +35,7 @@ jobs:
3535
run: .github\workflows\get_info.bat
3636

3737
- name: Compress files
38-
uses: papeloto/action-zip@v1
38+
uses: vimtor/action-zip@v1
3939
with:
4040
files: dist/
4141
dest: release.zip

0 commit comments

Comments
 (0)