Skip to content

Commit

Permalink
ci: Build and upload example app
Browse files Browse the repository at this point in the history
  • Loading branch information
YuKongA committed Aug 20, 2024
1 parent ce5e421 commit c4f21d0
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,30 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v4
- name: Run the Test
run: ./gradlew ${{ matrix.target }}
run: ./gradlew ${{ matrix.target }}

simple:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build example app
run: ./gradlew :composeApp:assembleRelease
- name: Upload android artifact
uses: actions/upload-artifact@v4
with:
name: AndroidExampleApp
path: composeApp/build/outputs/apk/release

0 comments on commit c4f21d0

Please sign in to comment.