Skip to content

Build & release to test-builds repo #2

Build & release to test-builds repo

Build & release to test-builds repo #2

Workflow file for this run

name: Build with PyInstaller; release to test-builds repo
on:
workflow_dispatch:
#inputs: "branch-name", "tag-name"
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.12'
cache: pip
- name: Install dependencies
run: |
# apt-get install python3-tk
pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
- name: Build with pyinstaller
run: |
pyinstaller LogosLinuxInstaller.spec --clean
- name: Create Branch-specific Release
uses: SimWinSports/[email protected]
id: create_release
with:
release_branch: issue9-gzip/v4.0.0alpha-issue9-20231230-1
prerelease: true
tag: 'v4.0.0alpha-issue9-20231230-1'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload release
uses: softprops/action-gh-release@v1
with:
body_path: dist/LogosLinuxInstaller
token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_REPOSITORY: FaithLife-Community/test-builds