mirror of
https://github.com/Etar-Group/Etar-Calendar.git
synced 2024-08-15 13:00:24 +03:00
Simplify Github Action
This commit is contained in:
parent
2918f1ff68
commit
38cfafad44
14
.github/workflows/android.yml
vendored
14
.github/workflows/android.yml
vendored
@ -1,20 +1,18 @@
|
||||
name: Android CI with Gradle
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: set up JDK 11
|
||||
uses: actions/setup-java@v3.10.0
|
||||
with:
|
||||
@ -29,10 +27,6 @@ jobs:
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
- name: Checkout submodules # checkout rest
|
||||
shell: bash
|
||||
run: |
|
||||
git submodule update --init
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/wrapper-validation-action@v1
|
||||
- name: Build with Gradle
|
||||
|
Loading…
Reference in New Issue
Block a user