Start testing release packager

This commit is contained in:
Dom Rodriguez 2023-12-25 20:24:28 +00:00
parent b526fc582f
commit 57ed8aef3a
No known key found for this signature in database
GPG Key ID: 72DCF1231E54BD43

View File

@ -34,8 +34,9 @@ jobs:
matrix: matrix:
# `--windowed` is for macOS, and `--onefile` is for other OSes. # `--windowed` is for macOS, and `--onefile` is for other OSes.
pyinstaller-type: ['--windowed', '--onefile'] pyinstaller-type: ['--windowed', '--onefile']
runs-on: ubuntu-latest runner: ["macos-latest", "windows-latest", "ubuntu-latest"]
name: Builder for Python all-in-one executables, published on a releases runs-on: ${{ matrix.runner }}
name: Builder for Python all-in-one executables, published on a release.
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -48,7 +49,11 @@ jobs:
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install pyinstaller pip install pyinstaller
pip install -r requirements.txt pip install -r requirements.txt
- name: Build RSSingle - name: Build RSSingle (Windows, Linux)
run: pyinstaller ${{ matrix.pyinstaller-type }} ./rssingle.py if: ${{ matrix.runner != 'macos-latest' }}
run: pyinstaller --onefile ./rssingle.py
- name: Build RSSingle (macOS)
if: ${{ matrix.runner == 'macos-latest' }}
run: pyinstaller --windowed ./rssingle.py
- name: List artifacts for finishing this action - name: List artifacts for finishing this action
run: find ./dist/ run: find ./dist/