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

Update main.yml

parent 878140a6
Loading
Loading
Loading
Loading
+5 −15
Original line number Diff line number Diff line
@@ -15,10 +15,10 @@ 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
@@ -26,17 +26,7 @@ jobs:
        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