Skip to content

Commit

Permalink
Update to Java 17 on GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjcolley committed Feb 19, 2024
1 parent c02b692 commit 63829a2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- name: set up JDK
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
distribution: "adopt"
java-version: 17

- name: assemble ViroCore
run: |
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: "adopt"
java-version: 11
java-version: 17
- name: Code checks
run: ./gradlew check
- name: Archive Lint report
Expand All @@ -62,8 +62,8 @@ jobs:
strategy:
fail-fast: false
matrix:
xcode: [ '12.5.1', '13.2.1' ]
macOS: [ 'macOS-11' ]
xcode: ["12.5.1", "13.2.1"]
macOS: ["macOS-11"]
steps:
- uses: actions/checkout@v3.3.0
- name: Install gpg
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release with changelog
on:
push:
tags:
- '*'
- "*"

jobs:
release:
Expand All @@ -17,14 +17,14 @@ jobs:
- name: Install JDK ${{ matrix.java_version }}
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
distribution: "adopt"
java-version: 17

- name: Get the version
id: tagger
uses: jimschubert/query-tag-action@v2
with:
skip-unshallow: 'true'
skip-unshallow: "true"
abbrev: false
commit-ish: HEAD

Expand Down Expand Up @@ -60,4 +60,4 @@ jobs:
./virocore/build/outputs/aar/virocore-release.aar
./sharedCode/build/outputs/aar/sharedCode-release.aar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 63829a2

Please sign in to comment.