From 856ff574d83de8dbef9fbd03a6865ca191066717 Mon Sep 17 00:00:00 2001 From: "Jack Boswell (boswelja)" Date: Fri, 5 Apr 2024 22:40:33 +1300 Subject: [PATCH] Don't publish components in parallel --- .github/workflows/code-scanning.yml | 12 ++++++------ .github/workflows/pr-ci.yml | 12 ++++++------ .github/workflows/publish.yml | 22 +++++++++++----------- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/code-scanning.yml b/.github/workflows/code-scanning.yml index 442768f..e6ca1d1 100644 --- a/.github/workflows/code-scanning.yml +++ b/.github/workflows/code-scanning.yml @@ -13,19 +13,19 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Java JDK - uses: actions/setup-java@v3.9.0 + uses: actions/setup-java@v4 with: java-version: 17 distribution: temurin - name: Setup Gradle - uses: gradle/gradle-build-action@v2.7.0 + uses: gradle/actions/setup-gradle@v3 - name: Run Detekt & Lint continue-on-error: true run: ./gradlew detektMetadataMain lint --continue - name: Upload SARIF binary - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sarif-reports path: '**/*.sarif' @@ -42,10 +42,10 @@ jobs: - material3 steps: - name: Download scan results - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: sarif-reports - - uses: github/codeql-action/upload-sarif@v2 + - uses: github/codeql-action/upload-sarif@v3 continue-on-error: true with: sarif_file: ${{ matrix.path }}/ diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index 61e1cbd..f5bf2ce 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -12,14 +12,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Java JDK - uses: actions/setup-java@v3.9.0 + uses: actions/setup-java@v4 with: java-version: 17 distribution: temurin - name: Setup Gradle - uses: gradle/gradle-build-action@v2.7.0 + uses: gradle/actions/setup-gradle@v3 - name: Build run: ./gradlew assemble${{ matrix.variant }} --scan test: @@ -29,13 +29,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Java JDK - uses: actions/setup-java@v3.9.0 + uses: actions/setup-java@v4 with: java-version: 17 distribution: temurin - name: Setup Gradle - uses: gradle/gradle-build-action@v2.7.0 + uses: gradle/actions/setup-gradle@v3 - name: Test run: ./gradlew test${{ matrix.variant }}UnitTest --scan diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 818363f..cfeadda 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,16 +11,16 @@ jobs: packages: write steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Java JDK - uses: actions/setup-java@v3.9.0 + uses: actions/setup-java@v4 with: java-version: 17 distribution: temurin - name: Setup Gradle - uses: gradle/gradle-build-action@v2.7.0 + uses: gradle/actions/setup-gradle@v3 - name: Build - run: ./gradlew publishAllPublicationsToGithubRepository --scan + run: ./gradlew publishAllPublicationsToGithubRepository --scan -Dorg.gradle.parallel=false env: PUBLISHING: true ORG_GRADLE_PROJECT_githubUsername: boswelja @@ -37,16 +37,16 @@ jobs: packages: write steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Java JDK - uses: actions/setup-java@v3.9.0 + uses: actions/setup-java@v4 with: java-version: 17 distribution: temurin - name: Setup Gradle - uses: gradle/gradle-build-action@v2.7.0 + uses: gradle/actions/setup-gradle@v3 - name: Build - run: ./gradlew publishAllPublicationsToOssRepository --scan + run: ./gradlew publishAllPublicationsToOssRepository --scan -Dorg.gradle.parallel=false env: PUBLISHING: true ORG_GRADLE_PROJECT_githubUsername: boswelja @@ -63,14 +63,14 @@ jobs: - publish-oss steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Java JDK - uses: actions/setup-java@v3.9.0 + uses: actions/setup-java@v4 with: java-version: 17 distribution: temurin - name: Setup Gradle - uses: gradle/gradle-build-action@v2.7.0 + uses: gradle/actions/setup-gradle@v3 - name: Build run: ./gradlew dokkaHtmlMultiModule - name: Upload Pages Artifact