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

Update main.yml

parent e0ee6980
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -3,8 +3,6 @@ name: Package Application with Pyinstaller
on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  build:
@@ -14,11 +12,8 @@ jobs:
    steps:
    - uses: actions/checkout@v2
    
    # if not exist build, failed
#     - name: Label Check
#       uses: mlg87/label-check-action@v1.0.0
#       with:
#         label-name-to-watch-for: "release"
    - name: Set env
      run: echo "RELEASE_VERSION=${GITHUB_REF#refs/v*/}" >> $GITHUB_ENV
    
    - name: Build exec file
      uses: JackMcKew/pyinstaller-action-windows@main
@@ -30,3 +25,4 @@ jobs:
      uses: softprops/action-gh-release@v1
      with:
        files: src/dist/windows/KnightReport.exe
        tag_name: automatic