Compare commits
3 Commits
2142e82fe4
...
ios-v1.0.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0de91dcc0c | ||
|
|
8e3e9ef31d | ||
|
|
3c5edd5742 |
@@ -6,8 +6,8 @@ on:
|
|||||||
- "ios-v*"
|
- "ios-v*"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ gitea.workflow }}-${{ gitea.ref }}
|
group: ios-macos-runner
|
||||||
cancel-in-progress: true
|
cancel-in-progress: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# ── archive & release to TestFlight ──────────────────────────────────────
|
# ── archive & release to TestFlight ──────────────────────────────────────
|
||||||
@@ -57,8 +57,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
PP_PATH=$RUNNER_TEMP/profile.mobileprovision
|
PP_PATH=$RUNNER_TEMP/profile.mobileprovision
|
||||||
echo "$PROFILE_BASE64" | base64 --decode > $PP_PATH
|
echo "$PROFILE_BASE64" | base64 --decode > $PP_PATH
|
||||||
|
UUID=$(security cms -D -i "$PP_PATH" | plutil -extract UUID raw -)
|
||||||
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
|
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
|
||||||
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles/
|
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles/$UUID.mobileprovision
|
||||||
|
echo "PROFILE_UUID=$UUID" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Write App Store Connect API key
|
- name: Write App Store Connect API key
|
||||||
env:
|
env:
|
||||||
@@ -79,6 +81,8 @@ jobs:
|
|||||||
- name: Archive
|
- name: Archive
|
||||||
env:
|
env:
|
||||||
USER: runner
|
USER: runner
|
||||||
|
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
|
||||||
|
PROFILE_UUID: ${{ env.PROFILE_UUID }}
|
||||||
run: just ios-archive
|
run: just ios-archive
|
||||||
|
|
||||||
- name: Export IPA
|
- name: Export IPA
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ on:
|
|||||||
- ".gitea/workflows/ios-release.yaml"
|
- ".gitea/workflows/ios-release.yaml"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ gitea.workflow }}-${{ gitea.ref }}
|
group: ios-macos-runner
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
5
justfile
5
justfile
@@ -136,7 +136,10 @@ ios-archive: ios-gen ios-resolve
|
|||||||
-scheme {{ios_scheme}} \
|
-scheme {{ios_scheme}} \
|
||||||
-configuration Release \
|
-configuration Release \
|
||||||
-clonedSourcePackagesDirPath {{ios_spm}} \
|
-clonedSourcePackagesDirPath {{ios_spm}} \
|
||||||
-archivePath {{runner_temp}}/LibNovel.xcarchive
|
-archivePath {{runner_temp}}/LibNovel.xcarchive \
|
||||||
|
CODE_SIGN_STYLE=Manual \
|
||||||
|
DEVELOPMENT_TEAM="$APPLE_TEAM_ID" \
|
||||||
|
PROVISIONING_PROFILE="$PROFILE_UUID"
|
||||||
|
|
||||||
# Export an IPA from the archive produced by ios-archive.
|
# Export an IPA from the archive produced by ios-archive.
|
||||||
# Requires ios/LibNovel/ExportOptions.plist.
|
# Requires ios/LibNovel/ExportOptions.plist.
|
||||||
|
|||||||
Reference in New Issue
Block a user