-
Notifications
You must be signed in to change notification settings - Fork 5
29 lines (28 loc) · 860 Bytes
/
build.yml
File metadata and controls
29 lines (28 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Build and Upload IPA
on:
push:
branches:
- '**'
jobs:
build:
runs-on: macos-13
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set Execute Permission for ipabuild.sh
run: chmod +x ./ipabuild.sh
- name: Get Latest Commit Message
id: set-name
run: |
commit_message=$(curl -s https://api.github.com/repos/${{ github.repository }}/commits/${{ github.sha }} | jq -r '.commit.message')
echo "::set-output name=commit-message::$commit_message"
- name: Build IPA
run: ./ipabuild.sh
env:
APP_NAME: StoreControl
BUILD_NUMBER: ${{ github.run_number }}
- name: Upload IPA Artifact
uses: actions/upload-artifact@v4
with:
name: StoreControl.ipa
path: ./build/StoreControl.ipa