mirror of
https://github.com/fromchat-messenger/app.git
synced 2026-11-19 20:26:53 +03:00
ci(release): drop iOS IPA job and release asset
Skip Kotlin Native link and unsigned IPA packaging in release builds; publish Android, desktop, and Linux artifacts only. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -618,49 +618,6 @@ jobs:
|
||||
path: release-staging/*.apk
|
||||
if-no-files-found: error
|
||||
|
||||
ios:
|
||||
name: iOS
|
||||
needs: resolve-version
|
||||
if: needs.resolve-version.outputs.should_build == 'true'
|
||||
runs-on: macos-latest
|
||||
timeout-minutes: 120
|
||||
env:
|
||||
GRADLE_OPTS: >-
|
||||
-Dorg.gradle.daemon=false
|
||||
-Dorg.gradle.vfs.watch=false
|
||||
-Dorg.gradle.jvmargs=-Xmx6g
|
||||
-Dkotlin.daemon.jvm.options=-Xmx4g
|
||||
ORG_GRADLE_PROJECT_org.gradle.workers.max: "4"
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: ./.github/actions/restore-git-mtimes
|
||||
- uses: ./.github/actions/set-version
|
||||
with:
|
||||
version: ${{ needs.resolve-version.outputs.version }}
|
||||
- uses: ./.github/actions/setup-java-gradle
|
||||
with:
|
||||
cache-read-only: "true"
|
||||
- uses: ./.github/actions/cache-gradle-build
|
||||
id: gradle-build-cache
|
||||
with:
|
||||
scope: ios
|
||||
- name: Package unsigned iOS IPA
|
||||
run: |
|
||||
mkdir -p release-staging
|
||||
bash scripts/package-ios-ipa.sh \
|
||||
"${{ needs.resolve-version.outputs.version }}" \
|
||||
"${{ needs.resolve-version.outputs.release_label }}" \
|
||||
release-staging
|
||||
- uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: ios
|
||||
path: release-staging/*.ipa
|
||||
if-no-files-found: error
|
||||
- uses: ./.github/actions/save-gradle-build-cache
|
||||
if: always()
|
||||
with:
|
||||
scope: ${{ steps.gradle-build-cache.outputs.cache-save-scope }}
|
||||
|
||||
publish:
|
||||
if: >-
|
||||
always() &&
|
||||
@@ -679,7 +636,6 @@ jobs:
|
||||
- macos
|
||||
- linux
|
||||
- android
|
||||
- ios
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -718,11 +674,6 @@ jobs:
|
||||
with:
|
||||
name: android
|
||||
path: artifacts
|
||||
- uses: actions/download-artifact@v5
|
||||
if: needs.resolve-version.outputs.should_build == 'true'
|
||||
with:
|
||||
name: ios
|
||||
path: artifacts
|
||||
- name: Collect release assets
|
||||
if: needs.resolve-version.outputs.should_build == 'true'
|
||||
env:
|
||||
@@ -758,7 +709,6 @@ jobs:
|
||||
pick_one "*-linux-x64.AppImage" "FromChat-${LABEL}-x64.AppImage"
|
||||
pick_one "*-linux-arm64.AppImage" "FromChat-${LABEL}-arm.AppImage"
|
||||
pick_one "*.apk" "FromChat-${LABEL}.apk"
|
||||
pick_one "*.ipa" "FromChat-${LABEL}.ipa"
|
||||
|
||||
if find release-assets -type f -name '*.zip' | grep -q .; then
|
||||
echo "Release assets must not be zip archives" >&2
|
||||
@@ -781,7 +731,6 @@ jobs:
|
||||
overwrite_files: true
|
||||
files: |
|
||||
release-assets/FromChat-${{ needs.resolve-version.outputs.release_label }}.apk
|
||||
release-assets/FromChat-${{ needs.resolve-version.outputs.release_label }}.ipa
|
||||
release-assets/FromChat-${{ needs.resolve-version.outputs.release_label }}-x64.exe
|
||||
release-assets/FromChat-${{ needs.resolve-version.outputs.release_label }}-arm.exe
|
||||
release-assets/FromChat-${{ needs.resolve-version.outputs.release_label }}-apple.dmg
|
||||
|
||||
Reference in New Issue
Block a user