Skip to content

Commit

Permalink
Update prerelease.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise authored Oct 3, 2024
1 parent bf943bc commit 516a1e9
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,42 @@ jobs:
with:
name: REAL-Video-Enhancer-2.0-MacOS_x86_64.zip
path: REAL-Video-Enhancer-2.0-MacOS_x86_64.zip

build-MacOS_arm64:
runs-on: macos-14
permissions: write-all
steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11.9

- name: Install Python Dependencies
run: |
brew install pyside@6
python3 -m pip install -r requirements.txt
- name: Build
run: python3 build.py --build_exe

- name: copy backend
run: cp -r backend dist/

- name: compress archive
run: |
cd dist
zip -r REAL-Video-Enhancer-2.0-MacOS_arm64.zip REAL-Video-Enhancer
cd ..
cp dist/REAL-Video-Enhancer-2.0-MacOS_arm64.zip REAL-Video-Enhancer-2.0-MacOS_arm64.zip
- name: Save Archive as artifact
uses: actions/upload-artifact@v3
with:
name: REAL-Video-Enhancer-2.0-MacOS_arm64.zip
path: REAL-Video-Enhancer-2.0-MacOS_arm64.zip

Release:
needs: [build-Windows, build-Linux, build-MacOS]
needs: [build-Windows, build-Linux, build-MacOS, build-MacOS_arm64]
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down

0 comments on commit 516a1e9

Please sign in to comment.