Fix build comment #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- release | |
pull_request: | |
branches: | |
- release | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check-out repository | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
cache: "pip" | |
cache-dependency-path: | | |
**/requirements*.txt | |
- name: Install your Dependencies | |
run: | | |
pip install -r requirements.txt | |
- name: Build Executable with Nuitka | |
uses: Nuitka/Nuitka-Action@main | |
env: | |
DEBUG_COMPILATION: yes | |
with: | |
nuitka-version: main | |
script-name: ytm2spt.py | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ runner.os }} Build | |
path: | # match what's created for the 3 OSes | |
build/*.exe | |
build/*.bin | |
build/*.app/**/* | |
overwrite: true |