Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Commit

Permalink
Improve release process
Browse files Browse the repository at this point in the history
  • Loading branch information
guizmaii committed Jan 17, 2023
1 parent 73b3bda commit 51efb25
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,26 @@ on:
types: [ published ]

jobs:
tests:
test:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_READ_PACKAGES: ${{ secrets.GH_READ_PACKAGES }}
strategy:
fail-fast: false
matrix:
java: [ '11', '17' ]
scala: [ '2.12.17', '2.13.10', '3.2.1' ]
steps:
- uses: actions/checkout@v3
- uses: coursier/cache-action@v6
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
java-version: ${{ matrix.java }}
check-latest: true
- name: Run tests
run: sbt clean test
run: sbt ++${{ matrix.scala }}! test

publish:
needs: tests
Expand Down

0 comments on commit 51efb25

Please sign in to comment.