Unverified Commit 28eb6c13 authored by cutecutecat's avatar cutecutecat Committed by GitHub
Browse files

Create build.yml

parent 8b097632
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
name: Package Application with Pyinstaller

on:
  push:
    branches: [ main ]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Build exec file
      uses: JackMcKew/pyinstaller-action-windows@main
      with:
        path: .
        spec: KnightReport.spec
        
    - name: Upload asset to release
      uses: softprops/action-gh-release@v1
      with:
        files: src/dist/windows/KnightReport.exe
        tag_name: automatic