Compare commits

...

1 Commits

Author SHA1 Message Date
Admin
2efad547b5 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
2026-03-09 12:41:17 +05:00

View File

@@ -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