-
-
Notifications
You must be signed in to change notification settings - Fork 14
52 lines (47 loc) · 1.68 KB
/
maven-ios.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
name: iOS
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macOS-latest
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '11.7.0'
- uses: actions/checkout@v2
- name: Setup GraalVM environment
uses: DeLaGuardo/setup-graalvm@master
with:
graalvm: '21.2.0'
java: 'java11'
- uses: Apple-Actions/import-codesign-certs@v1
if: ${{ github.repository_owner == 'gluonhq' }}
with:
p12-file-base64: ${{ secrets.CERTIFICATES_FILE_BASE64 }}
p12-password: ${{ secrets.CERTIFICATES_PASSWORD }}
- uses: Apple-Actions/download-provisioning-profiles@v1
if: ${{ github.repository_owner == 'gluonhq' }}
with:
bundle-id: be.webtechie.ResistorCalculatorApp
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
api-key-id: ${{ secrets.APPSTORE_KEY_ID }}
api-private-key: ${{ secrets.APPSTORE_PRIVATE_KEY }}
- name: Gluon License
uses: gluonhq/gluon-build-license@v1
with:
gluon-license: ${{ secrets.GLUON_LICENSE }}
- name: Gluon Build
run: mvn -Pios -DskipIOSSigning=${skipIOSSigning} gluonfx:build gluonfx:package
env:
GRAALVM_HOME: ${{ env.JAVA_HOME }}
skipIOSSigning: ${{ github.repository_owner != 'gluonhq' }}
- uses: Apple-Actions/upload-testflight-build@master
if: ${{ github.repository_owner == 'gluonhq' }}
with:
app-path: target/gluonfx/arm64-ios/Resistor Calculator.ipa
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
api-key-id: ${{ secrets.APPSTORE_KEY_ID }}
api-private-key: ${{ secrets.APPSTORE_PRIVATE_KEY }}