-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (46 loc) · 1.45 KB
/
release-prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Release Production App
on:
release:
types: [created]
jobs:
build:
uses: ./.github/workflows/build.yml
with:
store_artifacts: true
build_type: production
tag_name: ${{ github.event.release.tag_name }}
secrets: inherit
test:
uses: ./.github/workflows/test.yml
release_ios:
name: Upload iOS build to App Store connect
runs-on: macos-latest
needs: [build, test]
steps:
- name: Download artifact
uses: actions/[email protected]
with:
name: ios
- name: Upload app to App Store Connect
env:
APP_STORE_CONNECT_USERNAME: ${{ secrets.APP_STORE_CONNECT_USERNAME }}
APP_STORE_CONNECT_PASSWORD: ${{ secrets.APP_STORE_CONNECT_PASSWORD }}
run: |
xcrun altool --upload-app -t ios -f "Analog.ipa" -u "$APP_STORE_CONNECT_USERNAME" -p "$APP_STORE_CONNECT_PASSWORD"
release_android:
name: Upload Android build to Play Store
runs-on: ubuntu-latest
needs: [build, test]
steps:
- name: Download artifact
uses: actions/[email protected]
with:
name: android
- name: Upload to Google Play Store
uses: r0adkll/[email protected]
with:
serviceAccountJsonPlainText: ${{ secrets.PLAYSTORE_SERVICE_ACCOUNT_JSON }}
packageName: dk.analog.digitalclipcard
releaseFiles: android.aab
track: internal
status: draft