Skip to content

Commit

Permalink
Fix build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LakeLab committed Jul 30, 2024
1 parent 8d31ba0 commit 5297d90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '11'
java-version: '17'
distribution: 'adopt'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew assembleDebug --scan --stacktrace
run: ./gradlew :sample:assembleRelease --stacktrace
env:
OSSRH_USER_NAME: ${{ secrets.OSSRH_USER_NAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
Expand Down
3 changes: 2 additions & 1 deletion sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ android {
versionName = "1.0"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled = true
}

buildTypes {
release {
signingConfig=signingConfigs.getByName("debug")
signingConfig = signingConfigs.getByName("debug")
}
debug {
isMinifyEnabled = false
Expand Down

0 comments on commit 5297d90

Please sign in to comment.