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

Update main.yml

parent e0ee6980
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment