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

Commit

Permalink
Cross publish for different scala versions (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
azhur authored and guizmaii committed Dec 18, 2022
1 parent 07745fe commit 4793b94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,3 @@ jobs:
check-latest: true
- name: Run tests
run: sbt ++${{ matrix.scala }}! test

publish:
runs-on: ubuntu-latest
needs: [ lint, test ]
if: github.event_name != 'pull_request'
steps:
- name: Checkout current branch
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache scala dependencies
uses: coursier/cache-action@v6
- name: Setup Java
uses: actions/setup-java@v3.6.0
with:
distribution: temurin
java-version: 17
check-latest: true
- name: Release artifacts
run: sbt publish
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:
run: echo "::set-output name=tag::${GITHUB_REF#refs/*/}"

- name: Publish
run: sbt publish
run: sbt +publish
env:
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}

0 comments on commit 4793b94

Please sign in to comment.