Skip to content

Commit

Permalink
Merge pull request #28 from QAInsights/fix/gh-actions
Browse files Browse the repository at this point in the history
Add: Arch to GH Actions
  • Loading branch information
QAInsights authored Nov 19, 2023
2 parents 2ab9acb + 430e4ef commit f924fa9
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build:

runs-on: macos-latest-xlarge
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
Expand All @@ -33,30 +33,26 @@ jobs:
- name: Generate app for x86_64 architecture
run: |
python setup.py py2app --arch x86_64
python setup.py py2app
mv dist dist-x86_64
- name: Generate app for arm64 architecture
run: |
python setup.py py2app --arch arm64
mv dist dist-arm64
# - name: Generate app for arm64 architecture
# run: |
# python setup.py py2app --arch arm64
# mv dist dist-arm64

- name: Upload x86_64 app
uses: actions/upload-artifact@v2
with:
name: dist-x86_64
path: dist-x86_64

- name: Upload arm64 app
uses: actions/upload-artifact@v2
with:
name: dist-arm64
path: dist-arm64
# - name: Upload arm64 app
# uses: actions/upload-artifact@v2
# with:
# name: dist-arm64
# path: dist-arm64

- name: List current directory
run: |
ls -la
uname -a

# - name: Create Release
# id: create_release
Expand Down

0 comments on commit f924fa9

Please sign in to comment.