Update README.md. #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Xcode - Build Release IPA | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
name: Release IPA | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Checkout submodules | |
run: "git submodule update --init --recursive" | |
- name: Build | |
run: | | |
xcodebuild -verbose -workspace Moonlight.xcodeproj/project.xcworkspace -scheme Moonlight -sdk iphoneos -configuration AppStoreDistribution archive -archivePath $PWD/build/Moonlight-NE.xcarchive CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED="NO" CODE_SIGN_ENTITLEMENTS="" CODE_SIGNING_ALLOWED="NO" | |
mkdir -p ./build/IPA && mkdir -p ./build/IPA/Payload | |
cp -r ./build/Moonlight-NE.xcarchive/Products/Applications/Moonlight.app ./build/IPA/Payload/Moonlight.app | |
cd ./build/IPA && zip -r ../../build/Moonlight.ipa ./Payload/* && cd ../.. | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "build/Moonlight.ipa" | |
name: Moonlight-NE#${{ github.ref_name }} | |
body: ${{ github.event.head_commit.message }} | |
tag: ${{ github.ref_name }} | |
draft: false |