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

Update main.yml

parent 878140a6
......@@ -15,28 +15,18 @@ jobs:
- uses: actions/checkout@v2
# if not exist build, failed
# - name: Whether to build
# uses: lots0logs/gh-action-conditional-failure@1.0.0
# - name: Label Check
# uses: mlg87/label-check-action@v1.0.0
# with:
# args: --not --file-exists -- release
# label-name-to-watch-for: "release"
- name: Build exec file
uses: JackMcKew/pyinstaller-action-windows@main
with:
path: src
spec: KnightReport.spec
# - name: Upload to artifact
# uses: actions/upload-artifact@v2
# with:
# name: name-of-artifact
# path: src/dist/windows
- name: Upload asset to release
uses: gacts/upload-to-release@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v1
with:
file: src/dist/windows/KnightReport.exe
type: application/octet-stream
dry: false
files: src/dist/windows/KnightReport.exe
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