Skip to content

Commit

Permalink
Squash merge branch debugging-workflow at a4ce460
Browse files Browse the repository at this point in the history
Fixes PyInstaller by pinning it to the (at this time) development commit 7ebb7014a47f635a2475e4047714f45578f03dec
  • Loading branch information
KTrain5169 committed Oct 20, 2024
1 parent a5bb7a0 commit 5f5a8d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/script-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
push:
paths:
- 'script.py'
- 'requirements.txt'
pull_request:
paths:
- 'script.py'
- 'requirements.txt'
workflow_dispatch:

jobs:
Expand All @@ -30,6 +32,7 @@ jobs:
- name: Install requirements
run: |
pip install -r requirements.txt
pip install https://github.com/pyinstaller/pyinstaller/archive/7ebb7014a47f635a2475e4047714f45578f03dec.zip
- name: PyInstaller
run: pyinstaller script.py --name CatPack_Crafter_${{ github.sha }}_${{ matrix.os }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/script-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- name: Install requirements
run: |
pip install -r requirements.txt
pip install https://github.com/pyinstaller/pyinstaller/archive/7ebb7014a47f635a2475e4047714f45578f03dec.zip
- name: PyInstaller
run: pyinstaller --onefile --windowed script.py --name CatPack_Crafter_${{ github.ref_name }}_${{ matrix.os }}
Expand Down Expand Up @@ -82,7 +83,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
generateReleaseNotes: true
tag: ${{ github.ref_name }}
artifacts:
artifacts: CatPack_Crafter_${{ github.ref_name }}_*
draft: true
name: "CatPack_Crafter_${{ github.ref_name }}_*"
name: "CatPack_Crafter_${{ github.ref_name }}"
body: "Need help? Refer to the documentation site."
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pillow==11.0.0

# Compiling
pyinstaller==6.11.0
https://github.com/pyinstaller/pyinstaller/archive/7ebb7014a47f635a2475e4047714f45578f03dec.zip # idk if this actually works or not

# Documentation
mkdocs==1.6.1
Expand Down

0 comments on commit 5f5a8d0

Please sign in to comment.