Skip to content

Commit

Permalink
fix github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Juby210 committed Aug 15, 2024
1 parent 86ec4a0 commit 0943077
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@ jobs:
with:
submodules: 'recursive'

- name: Setup JDK 11
uses: actions/setup-java@v1
- name: Setup JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'temurin'
java-version: '17'

- uses: seanmiddleditch/gha-setup-ninja@master
with:
version: 1.12.0

- name: Build
run: |
rm -rf $ANDROID_HOME/cmake
./gradlew :core:publish -Pversion=${GITHUB_REF##*/}-SNAPSHOT
./gradlew :core:publish -Pversion=$(git rev-parse --short "$GITHUB_SHA")
env:
Expand Down

0 comments on commit 0943077

Please sign in to comment.