This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
Update README.md #5
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
name: Build executables | |
on: [push] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
Build: | |
name: Build release binaries | |
strategy: | |
fail-fast: false | |
max-parallel: 1 | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 # Update Python version here | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip pyinstaller | |
pip install -r requirements.txt | |
- name: Build with pyinstaller | |
run: pyinstaller --onefile --name=raiplay-${{ matrix.os }} raiplay-dl.py | |
- name: Pull before pushing | |
run: | | |
git pull | |
- name: Commit and push to the repository | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: New release of raiplay-${{ matrix.os }} |