update workflow JDK

pull/490/head
andrekir 2022-10-03 23:57:28 -03:00
rodzic 1a58896dcc
commit ce8e67eb5d
2 zmienionych plików z 7 dodań i 10 usunięć

Wyświetl plik

@ -24,18 +24,15 @@ jobs:
cp ./app/special/curfirmwareversion.xml ./app/src/main/res/values/ cp ./app/special/curfirmwareversion.xml ./app/src/main/res/values/
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
java-version: 11 java-version: '11'
distribution: 'adopt' distribution: 'temurin'
cache: gradle cache: gradle
- name: Validate Gradle wrapper - name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1 uses: gradle/wrapper-validation-action@v1
- name: Integration test
run: ./gradlew test --stacktrace
- name: Build debug APK - name: Build debug APK
run: ./gradlew assembleDebug run: ./gradlew assembleDebug

Wyświetl plik

@ -30,10 +30,10 @@ jobs:
KEYSTORE_PROPERTIES: ${{ secrets.KEYSTORE_PROPERTIES }} KEYSTORE_PROPERTIES: ${{ secrets.KEYSTORE_PROPERTIES }}
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
java-version: 11 java-version: '11'
distribution: 'adopt' distribution: 'temurin'
# Note: we don't use caches on release builds because we don't want to accidentally not have a virgin build machine # Note: we don't use caches on release builds because we don't want to accidentally not have a virgin build machine
- name: Find firmware release tag - name: Find firmware release tag