Bump version to 0.9.1.1 to test GitHub releases #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Release Binaries | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
build: | |
name: Make release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Display the release tag | |
run: echo ${{ github.event.release.tag_name }} | |
- name: Install dependencies | |
run: ./.github/install-dependencies.sh | |
- name: Make the release | |
run: gh release create v$$version --title "Release v$$version" dist/* | |
- name: Build the executable | |
run: | | |
pyinstaller --noconfirm --onefile --windowed --name wincoll \ | |
--add-data "wincoll/*.wav:wincoll/" \ | |
--add-data "wincoll/*.png:wincoll/" \ | |
--add-data "wincoll/*.ttf:wincoll/" \ | |
--add-data "wincoll/levels/*:wincoll/levels/" \ | |
wincoll/__main__.py | |
- name: Upload the binaries | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref }} | |
file: ./dist/wincoll | |
file_glob: true |