Skip to content

Commit

Permalink
Update gha versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed May 1, 2024
1 parent a6ec557 commit 0efdb2b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@ jobs:
matrix:
java: [ '8', '11', '16', '17', '19' ]
runs-on: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- runs-on: macos-latest
java: "8"
- runs-on: macos-latest
java: "16"


name: Test on Java ${{ matrix.Java }} on ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.Java }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.Java }}
distribution: 'temurin'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: nelonoel/branch-name@v1.0.1

# https://stackoverflow.com/questions/58033366/how-to-get-current-branch-within-github-actions
Expand All @@ -20,7 +20,7 @@ jobs:
id: extract_branch

- name: Checkout lems
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: LEMS/LEMS
ref: ${{ steps.extract_branch.outputs.branch }}
Expand Down

0 comments on commit 0efdb2b

Please sign in to comment.