Skip to content

Commit

Permalink
Merge pull request #183 from adpi2/fix-ci
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
adpi2 authored May 16, 2024
2 parents a53c296 + 44869fd commit 43fc1a9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@ jobs:
test-sbt:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
jvm: ['adopt:1.8', 'adopt:1.11', 'temurin:1.17']
include:
- os: ubuntu-latest
jvm: 'adoptium:1.8.0-412'
- os: window-latest
jvm: 'adoptium:1.11.0.23'
- os: macOS-latest
jvm: 'adoptium:1.17'
fail-fast: false
name: Test sbt plugin on ${{ matrix.os }} - ${{ matrix.jvm }}
runs-on: ${{ matrix.os }}
Expand All @@ -38,7 +43,7 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v3
- uses: coursier/setup-action@v1.2.0-M3
- uses: coursier/setup-action@v1.3.5
with:
jvm: ${{ matrix.jvm }}
apps: sbt
Expand All @@ -51,6 +56,13 @@ jobs:
if: github.event_name == 'push' || github.event.pull_request.head.repo.owner.login == 'scalacenter'
strategy:
matrix:
include:
- os: ubuntu-latest
jvm: 'adoptium:1.21'
- os: macOS-latest
jvm: 'adoptium:1.17'
- os: windows-latest
jvm: 'adoptium:1.8.0-412'
os: [ubuntu-latest, macOS-latest, windows-latest]
fail-fast: false
name: Test Github action on ${{ matrix.os }}
Expand All @@ -59,6 +71,10 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v3
- uses: coursier/[email protected]
with:
jvm: ${{ matrix.jvm }}
apps: sbt
- run: sbt publishLocal
working-directory: sbt-plugin
- run: npm version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: coursier/setup-action@v1.2.0-M3
- uses: coursier/setup-action@v1.3.5
with:
apps: sbt
jvm: 'adopt:1.8'
Expand Down

0 comments on commit 43fc1a9

Please sign in to comment.