diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a214b70b..e551b1080 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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.9.0 - with: - distribution: temurin - java-version: 17 - check-latest: true - - name: Release artifacts - run: sbt publish \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fcb32249a..33b2469d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} \ No newline at end of file