This repository was archived by the owner on Aug 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +18
-19
lines changed
Expand file tree Collapse file tree 1 file changed +18
-19
lines changed Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- name : Android CI
15+ name : Build
1616
1717on :
1818 push :
19- branches : [ master ]
19+ branches :
20+ - main
2021 pull_request :
21- branches : [ master ]
2222
23- jobs :
23+ concurrency :
24+ group : build-${{ github.ref }}
25+ cancel-in-progress : true
2426
27+ jobs :
2528 build :
26- name : Build
27- runs-on : ubuntu-18.04
28-
29+ runs-on : ubuntu-latest
30+ timeout-minutes : 60
2931 steps :
30- - uses : actions/checkout@v1
31- - name : set up JDK 1.8
32- uses : actions/setup-java@v1
32+ - name : Checkout
33+ uses : actions/checkout@v3
34+
35+ - name : Set up JDK 11
36+ uses : actions/setup-java@v3
3337 with :
34- java-version : 1.8
38+ distribution : ' zulu'
39+ java-version : 11
40+
3541 - name : Build project
36- run : .github/scripts/gradlew_recursive.sh assembleDebug
37- - name : Zip artifacts
38- run : zip -r assemble.zip . -i '**/build/*.apk' '**/build/*.aab' '**/build/*.aar' '**/build/*.so'
39- - name : Upload artifacts
40- uses : actions/upload-artifact@v1
41- with :
42- name : assemble
43- path : assemble.zip
42+ run : .github/scripts/gradlew_recursive.sh lint test build
You can’t perform that action at this time.
0 commit comments