Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
s1204IT authored Nov 19, 2024
1 parent c832e0c commit 1da1068
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: 21

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
uses: gradle/actions/setup-gradle@v4

- name: Set environments
run: |
Expand All @@ -41,7 +41,7 @@ jobs:
echo "repo=$(echo ${GITHUB_REPOSITORY#$GITHUB_REPOSITORY_OWNER/})"
} >> $GITHUB_ENV
- name: Build with Gradle
- name: Build
run: |
./gradlew assembleDebug --no-daemon --stacktrace
cp -f app/build/outputs/apk/debug/app-debug.apk ${{ env.repo }}-${{ env.version }}.apk
Expand All @@ -51,7 +51,7 @@ jobs:
with:
subject-path: ${{ env.repo }}-${{ env.version }}.apk

- name: Upload APK
- name: Upload
uses: actions/upload-artifact@v4
with:
name: ${{ env.repo }}(${{ env.version }}@${{ env.commit }})
Expand Down

0 comments on commit 1da1068

Please sign in to comment.