Compare commits
1 Commits
v2.6.72
...
2efad547b5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2efad547b5 |
@@ -32,7 +32,10 @@ jobs:
|
||||
run: command -v just || brew install just
|
||||
|
||||
- name: Set build number from run number
|
||||
run: just ios-set-build-number ${{ gitea.run_number }}
|
||||
run: |
|
||||
sed -i '' \
|
||||
's/CURRENT_PROJECT_VERSION: .*/CURRENT_PROJECT_VERSION: ${{ gitea.run_number }}/' \
|
||||
ios/LibNovel/project.yml
|
||||
|
||||
- name: Import signing certificate
|
||||
env:
|
||||
@@ -82,13 +85,22 @@ jobs:
|
||||
run: just ios-archive
|
||||
|
||||
- name: Export IPA
|
||||
run: just ios-export
|
||||
run: |
|
||||
xcodebuild -exportArchive \
|
||||
-archivePath $RUNNER_TEMP/LibNovel.xcarchive \
|
||||
-exportPath $RUNNER_TEMP/ipa \
|
||||
-exportOptionsPlist ios/LibNovel/ExportOptions.plist
|
||||
|
||||
- name: Upload to TestFlight
|
||||
env:
|
||||
ASC_KEY_ID: ${{ secrets.ASC_KEY_ID }}
|
||||
ASC_ISSUER_ID: ${{ secrets.ASC_ISSUER_ID }}
|
||||
run: just ios-upload
|
||||
run: |
|
||||
xcrun altool --upload-app \
|
||||
--type ios \
|
||||
--file $RUNNER_TEMP/ipa/LibNovel.ipa \
|
||||
--apiKey "$ASC_KEY_ID" \
|
||||
--apiIssuer "$ASC_ISSUER_ID"
|
||||
|
||||
- name: Upload IPA artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user