Skip to content

Update zh-Hans translation #2

Update zh-Hans translation

Update zh-Hans translation #2

Workflow file for this run

name: OpenEmu.app
on:
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build:
name: Build OpenEmu
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ^15.1
- name: Build OpenEmu
working-directory: ${{github.workspace}}
run: xcodebuild -workspace "OpenEmu.xcworkspace" -scheme "OpenEmu" -configuration Release -sdk macosx -arch x86_64 -derivedDataPath DerivedData
- name: Remove code signature
working-directory: ${{github.workspace}}/DerivedData/Build/Products/Release/
run: codesign --remove-signature OpenEmu.app
- name: Zip OpenEmu
working-directory: ${{github.workspace}}/DerivedData/Build/Products/Release/
run: zip -y -r OpenEmu.zip OpenEmu.app
- name: Build OpenEmu Experimental
working-directory: ${{github.workspace}}
run: xcodebuild -workspace "OpenEmu.xcworkspace" -scheme "OpenEmu (Experimental)" -configuration Release -sdk macosx -arch x86_64 -derivedDataPath DerivedData
- name: Remove code signature
working-directory: ${{github.workspace}}/DerivedData/Build/Products/Release/
run: codesign --remove-signature OpenEmu.app
- name: Zip OpenEmu Experimental
working-directory: ${{github.workspace}}/DerivedData/Build/Products/Release/
run: zip -y -r OpenEmu-experimental.zip OpenEmu.app
- name: Upload OpenEmu
if: github.event_name == 'workflow_dispatch'
uses: actions/upload-artifact@v4
with:
name: OpenEmu.zip
path: ${{github.workspace}}/DerivedData/Build/Products/Release/OpenEmu.zip
- name: Upload OpenEmu Experimental
if: github.event_name == 'workflow_dispatch'
uses: actions/upload-artifact@v4
with:
name: OpenEmu-experimental.zip
path: ${{github.workspace}}/DerivedData/Build/Products/Release/OpenEmu-experimental.zip