Skip to content

Commit

Permalink
add desktop jar to demos in releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Calvin-LL committed May 13, 2024
1 parent 1469489 commit 6ed4f8b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release-demo-app-apk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
distribution: temurin
java-version: 21
- name: Build APK
run: ./gradlew assembleDebug --stacktrace
run: ./gradlew :demoApp:composeApp:assembleRelease --stacktrace
- name: Build JAR
run: ./gradlew :demoApp:composeApp:packageReleaseUberJarForCurrentOS --stacktrace
- name: Get latest release
id: latest_release
uses: pozetroninc/github-action-get-latest-release@master
Expand All @@ -30,4 +32,8 @@ jobs:
- name: Upload APK
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.latest_release.outputs.release }} demoApp/composeApp/build/outputs/apk/debug/composeApp-debug.apk#demoApp.apk --clobber
run: gh release upload ${{ steps.latest_release.outputs.release }} demoApp/composeApp/build/outputs/apk/release/composeApp-release-unsigned.apk#demoApp.apk --clobber
- name: Upload JAR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.latest_release.outputs.release }} demoApp/composeApp/build/compose/jars/sh.calvin.reorderable.demo-linux-x64-1.0.0.jar#demoApp-desktop.jar --clobber

0 comments on commit 6ed4f8b

Please sign in to comment.