mirror of
https://github.com/nuclearfog/Shitter.git
synced 2024-12-28 10:29:56 +01:00
Update android.yml
This commit is contained in:
parent
980120fe6a
commit
e7fe561665
21
.github/workflows/android.yml
vendored
21
.github/workflows/android.yml
vendored
@ -1,32 +1,19 @@
|
|||||||
name: Android CI
|
name: Android CI
|
||||||
|
on: [push, pull_request]
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: "Build"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: set up JDK 11
|
- uses: gradle/wrapper-validation-action@v1
|
||||||
- uses: joschi/setup-jdk@v2
|
- uses: joschi/setup-jdk@v2
|
||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
architecture: 'x64'
|
architecture: 'x64'
|
||||||
|
|
||||||
- name: Grant execute permission for gradlew
|
- run: chmod +x gradlew
|
||||||
run: chmod +x gradlew
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
|
|
||||||
validation:
|
|
||||||
name: "Validation"
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: gradle/wrapper-validation-action@v1
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user