-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (31 loc) · 952 Bytes
/
update.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
name: update
on: push
jobs:
update:
name: Fastlane Update
runs-on: ['self-hosted', 'Linux', 'X64']
steps:
- uses: actions/checkout@v2
#
# - name: Set up JDK 17
# uses: actions/setup-java@v2
# with:
# java-version: '17'
# distribution: "temurin"
#
# - run : export JAVA_HOME=/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.9-9/x64
# - run : export PATH=$JAVA_HOME/bin:$PATH
# - run : source /etc/profile
# - name: Set up ruby env
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: 3.2.2
- run : sudo gem install fastlane
# - name: Install Firebase app distribution plugin
# run: sudo fastlane add_plugin firebase_app_distribution
- run : chmod a+x gradlew
- run : gradle --stop
- name: Run tests
run: sudo fastlane test
- name: Run slack_build
run: sudo fastlane slack_build