diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3bb804e4..747cbd82 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,7 +47,7 @@ jobs: uses: gmazzo/publish-report-annotations@v1.11.3 with: reports: ${{ github.workspace }}/**/build/reports/detekt/*.xml - checkName: Detekt + checkName: Detekt - Main token: ${{ github.token }} workflowSummary: true warningsAsErrors: false @@ -83,7 +83,7 @@ jobs: uses: gmazzo/publish-report-annotations@v1.11.3 with: reports: ${{ github.workspace }}/**/build/reports/ktlint/**/*.xml - checkName: Ktlint + checkName: Ktlint - Main token: ${{ github.token }} workflowSummary: true warningsAsErrors: false @@ -106,7 +106,6 @@ jobs: java-version: 17 - name: Build - continue-on-error: ${{ matrix.config.continueOnError }} run: ./gradlew :ui-base:build build-lib-ui: @@ -138,11 +137,11 @@ jobs: strategy: matrix: config: [ - { target: android, module: androidApp, os: ubuntu-latest, tasks: assembleDebug, continueOnError: false }, - { target: iOS, module: iosApp, os: macos-latest, tasks: compileKotlinIosArm64, continueOnError: false }, - { target: js, module: jsApp, os: ubuntu-latest, tasks: jsBrowserDistribution, continueOnError: false }, - { target: wasm, module: wasmApp, os: ubuntu-latest, tasks: wasmJsBrowserDistribution, continueOnError: false }, - { target: desktop, module: desktopApp, os: ubuntu-latest, tasks: assemble, continueOnError: false } + { target: android, path: androidApp, os: ubuntu-latest, tasks: assembleDebug }, + { target: iOS, path: iosApp, os: macos-latest, tasks: compileKotlinIosArm64 }, + { target: js, path: jsApp, os: ubuntu-latest, tasks: jsBrowserDistribution }, + { target: wasm, path: wasmApp, os: ubuntu-latest, tasks: wasmJsBrowserDistribution }, + { target: desktop, path: desktopApp, os: ubuntu-latest, tasks: assemble } ] if: ${{ success() }} needs: [ build-lib-ui ] @@ -158,8 +157,8 @@ jobs: java-version: 17 - name: Build sample ${{ matrix.config.target }} - Main - continue-on-error: ${{ matrix.config.continueOnError }} - run: ./gradlew :samples:${{ matrix.module }}:${{ matrix.config.tasks }} + continue-on-error: false + run: ./gradlew :samples:${{ matrix.config.path }}:${{ matrix.config.tasks }} check-sign: name: Check signature - Main