ci: inline simple just calls in ios-release, keep just only for complex xcodebuild steps
Some checks failed
CI / Scraper / Test (pull_request) Successful in 9s
CI / Scraper / Lint (pull_request) Successful in 14s
CI / Scraper / Docker Push (pull_request) Has been skipped
CI / UI / Build (pull_request) Successful in 22s
CI / UI / Docker Push (pull_request) Has been skipped
iOS CI / Build (push) Has been cancelled
iOS CI / Test (push) Has been cancelled
iOS Release / Release to TestFlight (push) Has been cancelled
iOS CI / Build (pull_request) Successful in 1m34s
iOS CI / Test (pull_request) Has been cancelled
Some checks failed
CI / Scraper / Test (pull_request) Successful in 9s
CI / Scraper / Lint (pull_request) Successful in 14s
CI / Scraper / Docker Push (pull_request) Has been skipped
CI / UI / Build (pull_request) Successful in 22s
CI / UI / Docker Push (pull_request) Has been skipped
iOS CI / Build (push) Has been cancelled
iOS CI / Test (push) Has been cancelled
iOS Release / Release to TestFlight (push) Has been cancelled
iOS CI / Build (pull_request) Successful in 1m34s
iOS CI / Test (pull_request) Has been cancelled
This commit is contained in:
@@ -32,7 +32,10 @@ jobs:
|
|||||||
run: command -v just || brew install just
|
run: command -v just || brew install just
|
||||||
|
|
||||||
- name: Set build number from run number
|
- 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
|
- name: Import signing certificate
|
||||||
env:
|
env:
|
||||||
@@ -82,13 +85,22 @@ jobs:
|
|||||||
run: just ios-archive
|
run: just ios-archive
|
||||||
|
|
||||||
- name: Export IPA
|
- 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
|
- name: Upload to TestFlight
|
||||||
env:
|
env:
|
||||||
ASC_KEY_ID: ${{ secrets.ASC_KEY_ID }}
|
ASC_KEY_ID: ${{ secrets.ASC_KEY_ID }}
|
||||||
ASC_ISSUER_ID: ${{ secrets.ASC_ISSUER_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
|
- name: Upload IPA artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user