Skip to content

Commit

Permalink
Upload autobuild workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MCMi460 committed May 31, 2023
1 parent 526afa3 commit 7ded71f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: 'Build OpenEmuRPC'
on:
release:
types: [published]

jobs:
build:
name: 'Build OpenEmuRPC'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['macos-latest']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: 3.10.11

# There is no "arm64"/"M1" option for Github Workflows just yet
- name: "Build"
if: matrix.os == 'macos-latest'
run: |
cd scripts &&
./build.sh &&
cd ../dist &&
zip -yr x86_64.zip OpenEmuRPC.app/
- name: "Upload Build"
if: matrix.os == 'macos-latest'
uses: softprops/action-gh-release@v0.1.15
with:
files: dist/x86_64.zip

0 comments on commit 7ded71f

Please sign in to comment.