Skip to content

Commit

Permalink
Bump action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
fornewid committed Apr 26, 2024
1 parent 15b3669 commit 4a16644
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 19 deletions.
2 changes: 0 additions & 2 deletions .github/ci-gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ org.gradle.daemon=false
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=1536m -XX:+HeapDumpOnOutOfMemoryError
org.gradle.workers.max=2

kotlin.compiler.execution.strategy=in-process
26 changes: 12 additions & 14 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
timeout-minutes: 30

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties

- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand All @@ -33,7 +33,7 @@ jobs:
run: release/signing-setup.sh ${{ secrets.ENCRYPT_KEY }}

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true

Expand All @@ -52,24 +52,22 @@ jobs:

test:
needs: build
runs-on: macos-latest
runs-on: ubuntu-latest
timeout-minutes: 30

strategy:
# Allow tests to continue on other devices if they fail on one device.
fail-fast: false
matrix:
# Disable 21-23 for now as the devices seem to be flakey on CI
api-level: [ 24, 26, 29 ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties

- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand All @@ -78,7 +76,7 @@ jobs:
run: release/signing-setup.sh ${{ secrets.ENCRYPT_KEY }}

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true

Expand All @@ -100,14 +98,14 @@ jobs:

- name: Upload logs
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: logs-${{ matrix.api-level }}
path: logcat.txt

- name: Upload test results
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: test-results-${{ matrix.api-level }}
path: "**/build/outputs/*/connected/*.xml"
Expand All @@ -122,13 +120,13 @@ jobs:
TERM: dumb

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties

- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand All @@ -137,7 +135,7 @@ jobs:
run: release/signing-setup.sh ${{ secrets.ENCRYPT_KEY }}

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ jobs:
TERM: dumb

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties

- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true

Expand Down

0 comments on commit 4a16644

Please sign in to comment.