Skip to content

Commit

Permalink
delete release-only workflow. Add artifacts as the build result.
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushieno committed Apr 16, 2024
1 parent c1d61c8 commit fe25ca5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 80 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ jobs:
if: matrix.os == 'ubuntu-22.04'
run: |
sudo apt-get update
- name: build
run: ./gradlew package

- name: upload build failure logs
if: failure()
uses: actions/upload-artifact@v4
Expand All @@ -36,3 +38,19 @@ jobs:
path: |
composeApp/build/reports/
- name: upload artifact - Android
if: success()
uses: actions/upload-artifact@v4
with:
name: kmmk-android
path:
composeApp/build/outputs/apk/release/*.apk
- name: upload artifact - Desktop
if: success()
uses: actions/upload-artifact@v4
with:
name: kmmk-${{ matrix.os }}
path: |
composeApp/build/compose/binaries/main/deb/*.deb
composeApp/build/compose/binaries/main/dmg/*.dmg
composeApp/build/compose/binaries/main/msi/*.msi
80 changes: 0 additions & 80 deletions .github/workflows/actions_packaging.yml

This file was deleted.

0 comments on commit fe25ca5

Please sign in to comment.