Skip to content

http (fix, breaking): RPCContext.current.getThreadLocal interface cha… #177

http (fix, breaking): RPCContext.current.getThreadLocal interface cha…

http (fix, breaking): RPCContext.current.getThreadLocal interface cha… #177

Workflow file for this run

name: Release Scala JVM
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
publish_jvm:
name: Publish Scala JVM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Fetch all tags so that sbt-dynver can find the previous release version
fetch-depth: 0
- run: git fetch --tags -f
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Setup GPG
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
run: echo $PGP_SECRET | base64 --decode | gpg --import --batch --yes
- name: Build bundle
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
run: |
./sbt "+ projectJVM/publishSigned"
- name: Release to Sonatype
env:
SONATYPE_USERNAME: '${{ secrets.SONATYPE_USER }}'
SONATYPE_PASSWORD: '${{ secrets.SONATYPE_PASS }}'
run: ./sbt sonatypeBundleRelease