From 9c8df7adbcbd3d940ee204ecfb0301263c7077fb Mon Sep 17 00:00:00 2001 From: NaveenKumar Namachivayam Date: Sat, 18 Nov 2023 19:59:35 -0500 Subject: [PATCH] Add: Arch to GH Actions Signed-off-by: NaveenKumar Namachivayam --- .github/workflows/python-app.yml | 50 ++++++++++++++++---------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 605c3dd..9990736 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -31,32 +31,32 @@ jobs: pip install py2app if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: Generate app for x86_64 architecture - run: | - python setup.py py2app --arch x86_64 - mv dist dist-x86_64 - - - 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: Generate app for x86_64 architecture + run: | + python setup.py py2app --arch x86_64 + mv dist dist-x86_64 + + - 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: List current directory + run: | + ls -la + uname -a # - name: Create Release # id: create_release