Mac try again

This commit is contained in:
2024-08-23 21:33:41 -05:00
committed by GitHub
parent 1b2f005ab9
commit 1aa1d55954

View File

@@ -49,13 +49,13 @@ jobs:
pyinstaller-build-macos: pyinstaller-build-macos:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- name: Checkout code # - name: Checkout code
uses: actions/checkout@v4 # uses: actions/checkout@v4
- name: Extract Version # - name: Extract Version
id: get_version # id: get_version
run: | # run: |
version=$(python -c 'from version import APP_VERSION; print(APP_VERSION)') # version=$(python -c 'from version import APP_VERSION; print(APP_VERSION)')
echo "VERSION=$version" >> $GITHUB_ENV # echo "VERSION=$version" >> $GITHUB_ENV
- name: Create Executable (macOS-arm64) - name: Create Executable (macOS-arm64)
uses: sayyid5416/pyinstaller@v1 uses: sayyid5416/pyinstaller@v1
with: with:
@@ -63,4 +63,5 @@ jobs:
python_arch: 'arm64' python_arch: 'arm64'
spec: 'main.spec' spec: 'main.spec'
requirements: 'requirements.txt' requirements: 'requirements.txt'
upload_exe_with_name: 'Zordon-${{env.VERSION}}-macOS-arm64' upload_exe_with_name: 'Zordon-testing-macOS-arm64'
options: --onefile