Skip to content

Commit

Permalink
reorganize upload-artifact. Add Android bundle and wasmJs outputs.
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushieno committed Apr 16, 2024
1 parent 543d927 commit 2ee78da
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
sudo apt-get update
- name: build
run: ./gradlew assembleRelease package
run: ./gradlew build package

- name: upload build failure logs
if: failure()
Expand All @@ -38,19 +38,15 @@ jobs:
path: |
composeApp/build/reports/
- name: upload artifact - Android
if: success()
uses: actions/upload-artifact@v4
with:
name: kmmk-android
path:
composeApp/build/outputs/bundle/release/*.aab
- name: upload artifact - Desktop
- name: upload artifact
if: success()
uses: actions/upload-artifact@v4
with:
name: kmmk-${{ matrix.os }}
path: |
composeApp/build/outputs/apk/debug/*.apk
composeApp/build/outputs/bundle/release/*.aab
composeApp/build/dist/wasmJs/
composeApp/build/compose/binaries/main/deb/*.deb
composeApp/build/compose/binaries/main/dmg/*.dmg
composeApp/build/compose/binaries/main/msi/*.msi

0 comments on commit 2ee78da

Please sign in to comment.