Skip to content

feat: prioritize flash #89

feat: prioritize flash

feat: prioritize flash #89

Workflow file for this run

name: Releases
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.10'
- name: Install Python dependencies
run: |
pip install -r requirements.txt
- name: Build Executable
run: |
pyinstaller GF-Theater-Commander.spec
dir dist
- name: Create zip file
run: Compress-Archive -Path dist/GF-Theater-Commander/* -DestinationPath GF-Theater-Commander.zip -Force
- name: Pre-Release
uses: "marvinpinto/action-automatic-releases@latest"
if: "!contains(github.ref, 'refs/tags/v')"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
files: |
./GF-Theater-Commander.zip
- name: Tagged Release
uses: "marvinpinto/action-automatic-releases@latest"
if: "contains(github.ref, 'refs/tags/v')"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
./GF-Theater-Commander.zip