Update build process to include installation of python-is-python3 pac… #36
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 | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
Linux_x86_64: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- name: Install desktop-file-utils | |
run: sudo apt-get install -y desktop-file-utils | |
- name: Build TV Downloader | |
run: python build.py build | |
- name: Upload Binary | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "./out/*" | |
allowUpdates: true | |
tag: "continious-build" | |
Linux_aarch64: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: uraimo/run-on-arch-action@v2 | |
name: Run commands | |
id: runcmd | |
with: | |
arch: aarch64 | |
distro: ubuntu_latest | |
githubToken: ${{ github.token }} | |
setup: | | |
sudo apt-get update -q -y | |
sudo apt-get install -q -y desktop-file-utils python3 python-is-python3 | |
run: | | |
python build.py build | |
- name: Upload Binary | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "./out/*" | |
allowUpdates: true | |
tag: "continious-build" |