Skip to content

Commit cdd8b72

Browse files
authored
Update macos-release.yml
1 parent 0bcada0 commit cdd8b72

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/macos-release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Python
1717
uses: actions/setup-python@v5
1818
with:
19-
python-version: '3.11'
19+
python-version: '3.13.3'
2020

2121
- name: Install dependencies
2222
run: |
@@ -27,16 +27,17 @@ jobs:
2727
2828
- name: Build app with PyInstaller
2929
run: |
30-
pyinstaller --windowed --onefile src/tchMaterial-parser.pyw --name tchMaterial-parser
30+
pyinstaller --windowed src/tchMaterial-parser.pyw --name tchMaterial-parser
3131
# The output binary will be in dist/tchMaterial-parser
3232
3333
- name: Create zip archive
3434
run: |
35-
zip -r tchMaterial-parser-mac.zip dist
35+
cd dist
36+
zip -r tchMaterial-parser-mac.zip tchMaterial-parser.app
3637
3738
- name: Upload Release Asset
3839
uses: softprops/action-gh-release@v2
3940
with:
40-
files: ./tchMaterial-parser-mac.zip
41+
files: dist/tchMaterial-parser-mac.zip
4142
env:
4243
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)