File tree Expand file tree Collapse file tree 2 files changed +15
-20
lines changed Expand file tree Collapse file tree 2 files changed +15
-20
lines changed Original file line number Diff line number Diff line change 18
18
uses : ./
19
19
id : docker-android-action
20
20
with :
21
- exec : sh tests/run_tests.sh --android-api 29 --android-ndk --android-build-tools 29.0.3
22
- build_and_test_multiline :
23
- runs-on : ubuntu-18.04
24
- container :
25
- image : docker://docker:stable-git
26
- steps :
27
- - name : Checkout
28
- uses : actions/checkout@v2
29
-
30
- - name : Test action
31
- uses : ./
32
- id : docker-android-action
33
- with :
34
- exec : |
35
- echo "Running Android 29 NDK Tests";
36
- sh tests/run_tests.sh --android-api 29 --android-ndk --android-build-tools 29.0.3;
37
- echo "Running Android 29 Tests";
38
- sh tests/run_tests.sh --android-api 29 --android-build-tools 29.0.3;
39
- echo "Running Android 29 with GCloud Tests";
40
- sh tests/run_tests.sh --android-api 29 --android-build-tools 29.0.3 --gcloud;
21
+ exec : sh action/test_action.sh
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ # Exit immediately if a command returns a non-zero status.
4
+ set -e
5
+
6
+ # Assert we are running in docker
7
+ if [ ! -f /.dockerenv ]; then
8
+ exit 1
9
+ fi
10
+
11
+ # Check basic tools
12
+ java -version
13
+ rbenv -v
14
+ adb version
You can’t perform that action at this time.
0 commit comments