Skip to content

Start build process

Start build process #1

Workflow file for this run

name: Build EXE
on:
push:
tags:
- 'v*' # Only run workflow on version tags, e.g. v1.0.0, v1.0.1, v1.0.2, etc.'
jobs:
build-py-to-exe:

Check failure on line 9 in .github/workflows/buildexe.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/buildexe.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python
run: uv python install
with:
enable-cache: true
- name: Install requirements
run: uv pip install -r requirements.txt
env:
UV_SYSTEM_PYTHON: 1
- name: Build with Pyinstaller
run: pyinstaller -F src/main.py --add-data src/resources/:./resources/ --name AdventureSoft-Cave-of-Shadows
- name: Create release
uses: softprops/[email protected]
with:
files: |
dist/AdventureSoft-Cave-of-Shadows.exe
tag_name: ${{ github.ref_name }}
prerelease: false
name: ${{ github.ref_name }}