Skip to content

Commit f6120ad

Browse files
authored
Add GitHub Actions workflow for unsigned release
1 parent 86a5552 commit f6120ad

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Unsigned Release
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
tags:
7+
- 'v*'
8+
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
build:
14+
runs-on: macos-latest
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
20+
- name: Build Unsigned Archive
21+
run: |
22+
xcodebuild archive \
23+
-scheme "LBox" \
24+
-configuration Release \
25+
-destination 'generic/platform=iOS' \
26+
-archivePath ./build/App.xcarchive \
27+
CODE_SIGN_IDENTITY="" \
28+
CODE_SIGNING_REQUIRED=NO \
29+
CODE_SIGNING_ALLOWED=NO
30+
31+
- name: Create IPA
32+
run: |
33+
mkdir Payload
34+
cp -r ./build/App.xcarchive/Products/Applications/*.app Payload/
35+
zip -r LBox.ipa Payload
36+
37+
- name: Upload Release
38+
uses: softprops/action-gh-release@v1
39+
with:
40+
name: "Realese"
41+
body: |
42+
### 📥 Installation
43+
44+
> **Recommendation:** Please install this IPA using **[LiveContainer](https://github.com/khanhduytran0/LiveContainer)**.
45+
46+
_Automated build #${{ github.run_number }}_
47+
tag_name: build-${{ github.run_number }}
48+
files: LBox.ipa

0 commit comments

Comments
 (0)