mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-02-02 19:56:59 +01:00
Update GitHub CI actions (#5216)
This commit is contained in:
parent
b8e311d9d4
commit
ccda829f53
11
.github/workflows/android-emulator.yml
vendored
11
.github/workflows/android-emulator.yml
vendored
@ -9,10 +9,13 @@ jobs:
|
|||||||
runs-on: macOS-latest
|
runs-on: macOS-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: set up JDK 1.8
|
- name: Set up JDK 8
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
distribution: 'adopt'
|
||||||
|
java-version: '8'
|
||||||
|
- name: Wrapper validation
|
||||||
|
uses: gradle/wrapper-validation-action@v1
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew assemblePlayDebugAndroidTest
|
run: ./gradlew assemblePlayDebugAndroidTest
|
||||||
- name: Android Emulator test
|
- name: Android Emulator test
|
||||||
@ -21,7 +24,7 @@ jobs:
|
|||||||
api-level: 28
|
api-level: 28
|
||||||
disable-animations: true
|
disable-animations: true
|
||||||
script: zsh .github/workflows/runTests.sh
|
script: zsh .github/workflows/runTests.sh
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v2
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: test-report
|
name: test-report
|
||||||
|
10
.github/workflows/gradle-wrapper-validation.yml
vendored
10
.github/workflows/gradle-wrapper-validation.yml
vendored
@ -1,10 +0,0 @@
|
|||||||
name: "Validate Gradle Wrapper"
|
|
||||||
on: [pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
validation:
|
|
||||||
name: "Validation"
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: gradle/wrapper-validation-action@v1
|
|
Loading…
x
Reference in New Issue
Block a user