Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alorma authored Jan 19, 2025
1 parent a0ad559 commit 4d71593
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -106,7 +106,6 @@ jobs:
java-version: 17

- name: Build
continue-on-error: ${{ matrix.config.continueOnError }}
run: ./gradlew :ui-base:build

build-lib-ui:
Expand Down Expand Up @@ -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 ]
Expand All @@ -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
Expand Down

0 comments on commit 4d71593

Please sign in to comment.