Disable nuitka workflow and add cx_freeze zip workflow
This commit is contained in:
parent
554d3557d3
commit
f7eb37351e
32
.github/workflows/release-tests.yml
vendored
32
.github/workflows/release-tests.yml
vendored
|
@ -83,6 +83,7 @@ jobs:
|
||||||
path: Rare.AppImage
|
path: Rare.AppImage
|
||||||
|
|
||||||
nuitka:
|
nuitka:
|
||||||
|
if: ${{ false }}
|
||||||
needs: version
|
needs: version
|
||||||
runs-on: "windows-latest"
|
runs-on: "windows-latest"
|
||||||
steps:
|
steps:
|
||||||
|
@ -164,6 +165,37 @@ jobs:
|
||||||
name: Rare-Windows-${{ needs.version.outputs.tag_abbrev }}.${{ needs.version.outputs.tag_offset }}.msi
|
name: Rare-Windows-${{ needs.version.outputs.tag_abbrev }}.${{ needs.version.outputs.tag_offset }}.msi
|
||||||
path: dist/*.msi
|
path: dist/*.msi
|
||||||
|
|
||||||
|
win-zip:
|
||||||
|
runs-on: "windows-latest"
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: "release"
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.9'
|
||||||
|
architecture: x64
|
||||||
|
- name: Install build dependencies
|
||||||
|
run: pip3 install cx_freeze
|
||||||
|
- name: Install target dependencies
|
||||||
|
run: |
|
||||||
|
pip3 install -r requirements.txt
|
||||||
|
pip3 install -r requirements-presence.txt
|
||||||
|
- name: Build
|
||||||
|
run: cxfreeze -c rare/__main__.py --target-dir dist --target-name rare --icon rare/resources/images/Rare.ico -OO --base-name Win32GUI
|
||||||
|
- name: Compress
|
||||||
|
run: |
|
||||||
|
python -c "import shutil; shutil.make_archive('Rare-Windows', 'zip', 'dist')"
|
||||||
|
|
||||||
|
- name: Upload to Releases
|
||||||
|
uses: svenstaro/upload-release-action@2.2.1
|
||||||
|
with:
|
||||||
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
file: Rare-Windows.zip
|
||||||
|
asset_name: Rare-Windows-${{ github.event.release.tag_name }}.zip
|
||||||
|
tag: ${{ github.ref }}
|
||||||
|
overwrite: true
|
||||||
|
|
||||||
mac_os:
|
mac_os:
|
||||||
needs: version
|
needs: version
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
32
.github/workflows/release.yml
vendored
32
.github/workflows/release.yml
vendored
|
@ -99,7 +99,39 @@ jobs:
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
win-zip:
|
||||||
|
runs-on: "windows-latest"
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: "release"
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.9'
|
||||||
|
architecture: x64
|
||||||
|
- name: Install build dependencies
|
||||||
|
run: pip3 install cx_freeze
|
||||||
|
- name: Install target dependencies
|
||||||
|
run: |
|
||||||
|
pip3 install -r requirements.txt
|
||||||
|
pip3 install -r requirements-presence.txt
|
||||||
|
- name: Build
|
||||||
|
run: cxfreeze -c rare/__main__.py --target-dir dist --target-name rare --icon rare/resources/images/Rare.ico -OO --base-name Win32GUI
|
||||||
|
- name: Compress
|
||||||
|
run: |
|
||||||
|
python -c "import shutil; shutil.make_archive('Rare-Windows', 'zip', 'dist')"
|
||||||
|
|
||||||
|
- name: Upload to Releases
|
||||||
|
uses: svenstaro/upload-release-action@2.2.1
|
||||||
|
with:
|
||||||
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
file: Rare-Windows.zip
|
||||||
|
asset_name: Rare-Windows-${{ github.event.release.tag_name }}.zip
|
||||||
|
tag: ${{ github.ref }}
|
||||||
|
overwrite: true
|
||||||
|
|
||||||
nuitka:
|
nuitka:
|
||||||
|
if: ${{ false }}
|
||||||
runs-on: "windows-latest"
|
runs-on: "windows-latest"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
Loading…
Reference in a new issue