diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 88ba98f37..927782213 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: distribution: 'zulu' java-version: '17' - uses: gradle/wrapper-validation-action@v2 - - uses: gradle/gradle-build-action@v3 + - uses: gradle/actions/setup-gradle@v3 with: cache-read-only: ${{ env.MAIN_BRANCH != 'true' }} - name: Build @@ -58,7 +58,7 @@ jobs: category: detekt - name: Upload failure artifacts if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: reports path: | @@ -75,7 +75,7 @@ jobs: distribution: 'zulu' java-version: '17' - uses: gradle/wrapper-validation-action@v2 - - uses: gradle/gradle-build-action@v3 + - uses: gradle/actions/setup-gradle@v3 with: cache-read-only: ${{ env.MAIN_BRANCH != 'true' }} - name: Check publication setup @@ -99,7 +99,7 @@ jobs: distribution: 'zulu' java-version: '17' - uses: gradle/wrapper-validation-action@v2 - - uses: gradle/gradle-build-action@v3 + - uses: gradle/actions/setup-gradle@v3 with: cache-read-only: ${{ env.MAIN_BRANCH != 'true' }} - name: Setup Android SDK @@ -119,7 +119,7 @@ jobs: -Dorg.gradle.jvmargs=-Xmx2048m - name: Upload failed instrumentation artifacts if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: instrumentation-failures path: | @@ -137,7 +137,7 @@ jobs: distribution: 'zulu' java-version: '17' - uses: gradle/wrapper-validation-action@v2 - - uses: gradle/gradle-build-action@v3 + - uses: gradle/actions/setup-gradle@v3 with: cache-read-only: ${{ env.MAIN_BRANCH != 'true' }} - name: Setup Android SDK @@ -153,7 +153,7 @@ jobs: -Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true - name: Upload failed screenshot artifacts if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: screenshot-failures path: | @@ -163,7 +163,7 @@ jobs: check-documentation: name: Check documentation - runs-on: macOS-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 @@ -171,7 +171,7 @@ jobs: distribution: 'zulu' java-version: '17' - uses: gradle/wrapper-validation-action@v2 - - uses: gradle/gradle-build-action@v3 + - uses: gradle/actions/setup-gradle@v3 with: cache-read-only: ${{ env.MAIN_BRANCH != 'true' }} - name: Generate distributions diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 376085a32..e30fd3ac5 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -20,7 +20,7 @@ jobs: distribution: 'zulu' java-version: '17' - uses: gradle/wrapper-validation-action@v2 - - uses: gradle/gradle-build-action@v3 + - uses: gradle/actions/setup-gradle@v3 with: cache-read-only: ${{ env.MAIN_BRANCH != 'true' }} - run: pip install mkdocs-material diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bad5eb423..514ca89c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: jobs: publish: name: Publish - runs-on: ubuntu-latest + runs-on: macOS-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 @@ -16,7 +16,7 @@ jobs: distribution: 'zulu' java-version: '17' - uses: gradle/wrapper-validation-action@v2 - - uses: gradle/gradle-build-action@v3 + - uses: gradle/actions/setup-gradle@v3 env: SIGNING_KEY: ${{ secrets.SIGNING_KEY }} with: