Skip to content

Commit

Permalink
Workflows: Rename cx_freeze jobs and use python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
loathingKernel committed May 1, 2023
1 parent 67cebde commit 1fb6640
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: "Release"


on:
workflow_dispatch:
release:
types: [ published ]

Expand Down Expand Up @@ -99,15 +100,17 @@ jobs:
tag: ${{ github.ref }}
overwrite: true

win-zip:
cx_freeze_zip:
runs-on: "windows-latest"
steps:
- uses: actions/checkout@v3
with:
ref: "release"
- uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: pip
python-version: '3.11'
check-latest: true
architecture: x64
- name: Install build dependencies
run: pip3 install cx_freeze
Expand Down Expand Up @@ -139,7 +142,9 @@ jobs:
ref: "release"
- uses: actions/setup-python@v4
with:
cache: pip
python-version: '3.9'
check-latest: true
architecture: x64
- name: Install build dependencies
run: pip3 install nuitka ordered-set
Expand Down Expand Up @@ -194,15 +199,17 @@ jobs:
tag: ${{ github.ref }}
overwrite: true

cx_freeze:
cx_freeze_msi:
runs-on: "windows-latest"
steps:
- uses: actions/checkout@v3
with:
ref: "release"
- uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: pip
python-version: '3.11'
check-latest: true
architecture: x64
- name: Install Build Dependencies
run: pip3 install --upgrade cx_freeze wheel
Expand Down Expand Up @@ -232,7 +239,9 @@ jobs:
ref: "release"
- uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: pip
python-version: '3.11'
check-latest: true
- name: Install Build Dependencies
run: pip install pyinstaller
- name: Install Target Dependencies
Expand Down

0 comments on commit 1fb6640

Please sign in to comment.