Skip to content

Commit

Permalink
Update gradle_snapshot_build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanlorng authored Oct 27, 2024
1 parent 03a6b74 commit 8af6099
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/gradle_snapshot_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
ref: update_build_script
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
Expand All @@ -34,9 +36,8 @@ jobs:

- name: PublishToMavenLocal
run: |
./gradlew publishDesktopPublicationToMavenLocal
cd /home/runner/.m2 & ls -a
./gradlew :gallery:assembleRelease
# ./gradlew publishDesktopPublicationToMavenLocal
# ./gradlew publishAndroidReleasePublicationToMavenLocal
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
Expand All @@ -49,4 +50,6 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Package
path: /home/runner/.m2/repository
path: |
~/.m2/repository
${{github.workflow}}/gallery/**/*.apk

0 comments on commit 8af6099

Please sign in to comment.