Skip to content

[SAVES] Full save sync (automatic files deleting) #206

[SAVES] Full save sync (automatic files deleting)

[SAVES] Full save sync (automatic files deleting) #206

Workflow file for this run

name: Build binaries
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
fail-fast: false
max-parallel: 3
matrix:
os: [ubuntu-20.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Install pyinstaller and dependencies
run: pip3 install --upgrade pyinstaller requests
- name: Set strip on Linux and Mac
id: strip
run: echo "option=--strip" >> $GITHUB_OUTPUT
if: runner.os != 'Windows'
- name: Build
run: pyinstaller
--onefile
--name gogdl
${{ steps.strip.outputs.option }}
gogdl/cli.py
env:
PYTHONOPTIMIZE: 1
- uses: actions/upload-artifact@v4
with:
name: gogdl-${{ runner.os }}
path: dist/*