Skip to content

Commit

Permalink
Use correct variable to pass java versions to GitHub Actions builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagomota committed Jul 6, 2023
1 parent faaaaad commit 7b573fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup Scala and Java
uses: coursier/setup-action@v1
with:
java-version: [email protected]
jvm: [email protected]
- uses: olafurpg/setup-gpg@v3
- name: Publish ${{ github.ref }}
run: sbt ci-release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
name: Java ${{matrix.java}}
strategy:
matrix:
java: ['openjdk@1.11', 'adopt@1.11', 'openjdk@1.17']
java: ['adopt:11', 'temurin:11', 'adopt:17', 'temurin:17']
steps:
- uses: actions/checkout@v2
- name: Setup Scala and Java
uses: coursier/setup-action@v1
with:
java-version: ${{matrix.java}}
jvm: ${{matrix.java}}
- name: Start Postgres
run: sh ./scripts/launch-postgres.sh
- name: Run tests
Expand Down

0 comments on commit 7b573fc

Please sign in to comment.