aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/ios.yml
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-05-05 15:57:38 +0100
committerMohamedBassem <me@mbassem.com>2024-05-05 15:57:38 +0100
commit02ef4bfc89e66fdf6593dd744aef53adee57b861 (patch)
treefe852938a65a89e2bf0d83d9064af9e50154bbaa /.github/workflows/ios.yml
parent2ed134e6f4a1e0d749f78f8285b5bcd7119327b7 (diff)
downloadkarakeep-02ef4bfc89e66fdf6593dd744aef53adee57b861.tar.zst
build: Add iOS and android builds to github actions
Diffstat (limited to '')
-rw-r--r--.github/workflows/ios.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml
new file mode 100644
index 00000000..459c03cc
--- /dev/null
+++ b/.github/workflows/ios.yml
@@ -0,0 +1,32 @@
+name: iOS App Release Build
+
+on:
+ push:
+ tags:
+ - 'ios/v[0-9]+.[0-9]+.[0-9]+'
+
+jobs:
+ build:
+ runs-on: macos-latest
+ steps:
+ - name: Setup repo
+ uses: actions/checkout@v4
+
+ - name: Setup
+ uses: ./tooling/github/setup
+
+ - name: Setup Expo
+ uses: expo/expo-github-action@v8
+ with:
+ expo-version: latest
+ eas-version: latest
+ token: ${{ secrets.EXPO_TOKEN }}
+
+ - name: Build iOS app
+ run: eas build --platform ios --local --non-interactive --output ${{ github.workspace }}/app-release.ipa
+
+ - name: Upload IPA artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: hoarder-ios
+ path: ${{ github.workspace }}/app-release.ipa