Skip to content

Commit

Permalink
Add ipa build action
Browse files Browse the repository at this point in the history
  • Loading branch information
Skittyblock committed Sep 4, 2022
1 parent a70d9f4 commit 9d4ff57
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build ipa

on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
- '.gitignore'
pull_request:
branches:
- main
paths-ignore:
- '**/*.md'
- '.gitignore'
workflow_dispatch:

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Build
run: xcodebuild build -scheme WallpaperSetter -configuration Release CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO BUILD_DIR=${{ github.workspace }}/build
- name: Package ipa
run: |
mkdir Payload
cp -r ${{ github.workspace }}/build/Release-iphoneos/WPSetter.app Payload
zip -r WallpaperSetter.ipa Payload
- name: Upload ipa
uses: actions/[email protected]
with:
name: WallpaperSetter
path: WallpaperSetter.ipa
if-no-files-found: error

0 comments on commit 9d4ff57

Please sign in to comment.