Skip to content

Commit

Permalink
Update Java workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed Feb 23, 2024
1 parent 7d7d370 commit 46541b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/android-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
- name: Checkout submodules
run: git submodule update --init --recursive
- name: set up JDK 17
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: Build
env:
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/android-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
- name: Checkout submodules
run: git submodule update --init --recursive
- name: set up JDK 17
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: Build PR
run: .ci/ci-main.sh pull-request

3 changes: 2 additions & 1 deletion .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ jobs:
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Set up JDK 17
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: Finish release
run: .ci/ci-release-finish.sh --tag
- name: Build
Expand Down

0 comments on commit 46541b8

Please sign in to comment.