Fix release workflow
This commit is contained in:
parent
f8b38e0cb8
commit
9bb3171a8a
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
|
@ -3,6 +3,7 @@ name: "Release"
|
||||||
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
release:
|
release:
|
||||||
types: [ published ]
|
types: [ published ]
|
||||||
|
|
||||||
|
@ -99,7 +100,7 @@ jobs:
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
win-zip:
|
cx_freeze_zip:
|
||||||
runs-on: "windows-latest"
|
runs-on: "windows-latest"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -107,7 +108,9 @@ jobs:
|
||||||
ref: "release"
|
ref: "release"
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.9'
|
cache: pip
|
||||||
|
python-version: '3.11'
|
||||||
|
check-latest: true
|
||||||
architecture: x64
|
architecture: x64
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
run: pip3 install cx_freeze
|
run: pip3 install cx_freeze
|
||||||
|
@ -140,7 +143,9 @@ jobs:
|
||||||
ref: "release"
|
ref: "release"
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
|
cache: pip
|
||||||
python-version: '3.9'
|
python-version: '3.9'
|
||||||
|
check-latest: true
|
||||||
architecture: x64
|
architecture: x64
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
run: pip3 install nuitka ordered-set
|
run: pip3 install nuitka ordered-set
|
||||||
|
@ -195,7 +200,7 @@ jobs:
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
cx_freeze:
|
cx_freeze_msi:
|
||||||
runs-on: "windows-latest"
|
runs-on: "windows-latest"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -203,7 +208,9 @@ jobs:
|
||||||
ref: "release"
|
ref: "release"
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.9'
|
cache: pip
|
||||||
|
python-version: '3.11'
|
||||||
|
check-latest: true
|
||||||
architecture: x64
|
architecture: x64
|
||||||
- name: Install Build Dependencies
|
- name: Install Build Dependencies
|
||||||
run: pip3 install --upgrade cx_freeze wheel
|
run: pip3 install --upgrade cx_freeze wheel
|
||||||
|
@ -233,7 +240,9 @@ jobs:
|
||||||
ref: "release"
|
ref: "release"
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.9'
|
cache: pip
|
||||||
|
python-version: '3.11'
|
||||||
|
check-latest: true
|
||||||
- name: Install Build Dependencies
|
- name: Install Build Dependencies
|
||||||
run: pip install pyinstaller
|
run: pip install pyinstaller
|
||||||
- name: Install Target Dependencies
|
- name: Install Target Dependencies
|
||||||
|
|
Loading…
Reference in a new issue