From 4a166446ce57280d993e7d5d2a23ea7668e394b1 Mon Sep 17 00:00:00 2001 From: Sungyong An Date: Fri, 26 Apr 2024 21:58:48 +0900 Subject: [PATCH] Bump action versions --- .github/ci-gradle.properties | 2 -- .github/workflows/build.yaml | 26 ++++++++++++-------------- .github/workflows/publish-docs.yml | 6 +++--- 3 files changed, 15 insertions(+), 19 deletions(-) diff --git a/.github/ci-gradle.properties b/.github/ci-gradle.properties index fd3b71b..a3aaa40 100644 --- a/.github/ci-gradle.properties +++ b/.github/ci-gradle.properties @@ -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 diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 01d29d1..2ca8171 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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" @@ -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 @@ -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 diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 5ee78cf..abe3bf6 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -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