Build your Python projects, and turn them into packaged executables for all platforms.
Create a GitHub workflow at .github/workflows/release.yml:
name: Release
on:
release:
types: [created]
permissions:
contents: write
jobs:
build:
uses: uukelele-scratch/pybuild/.github/workflows/build.yml@main
with:
app_name: "App"
data_dir: "assets"
icon_ico: "assets/icon.ico"
icon_png: "assets/icon.png"
version: ${{ github.event.release.tag_name }}
app_id: "AAAA-AAAA-AAAA-AAAA"
entry_point: "src/main.py"
publish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
- uses: softprops/action-gh-release@v1
with:
files: |
windows-installer/*.exe
linux-appimage/*.AppImage
macos-dmg/*.dmgThen, publish a release.