Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 31 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "v*.*.*"

jobs:
build:
build-windows:

runs-on: windows-latest

Expand Down Expand Up @@ -77,3 +77,33 @@ jobs:
PathfinderInstaller/dist/PathfinderInstaller.exe
PathfinderInstaller/PathfinderInstaller.py

upload-linux-installer-binary:

needs: build-windows
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2.2.2
with:
python-version: '3.9'

- name: Install PyInstaller
run: python -m pip install pyinstaller requests

- name: Build Linux Installer Binary
run: |
cd PathfinderInstaller
pyinstaller --onefile --noconsole PathfinderInstaller.py
mv ./dist/PathfinderInstaller ./dist/PathfinderInstaller.x86_64
chmod +x ./dist/PathfinderInstaller.x86_64
cd ..

- name: Upload Linux Installer Binary
uses: alexellis/upload-assets@0.2.2
env:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["./PathfinderInstaller/dist/PathfinderInstaller.x86_64"]'