Skip to content

Build & release to test-builds repo #10

Build & release to test-builds repo

Build & release to test-builds repo #10

Workflow file for this run

name: Build with PyInstaller; release to test-builds repo
on:
workflow_dispatch:
inputs:
branch:
description: "branch-name"
required: true
type: string
tag:
description: "tag-name"
required: true
type: string
jobs:
build:
runs-on: ubuntu-20.04
environment: build
permissions:
contents: write
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: ${{ inputs.branch }}/${{ inputs.tag }}
prerelease: true
tag: ${{ inputs.tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ inputs.tag }}
files: dist/LogosLinuxInstaller
token: ${{ secrets.ACCESS_TOKEN }}
repository: FaithLife-Community/test-builds