Skip to content

Release of 5.0.0 (#303) #12

Release of 5.0.0 (#303)

Release of 5.0.0 (#303) #12

Workflow file for this run

name: Publish
on:
push:
tags: ["*"]
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
build-and-test:
runs-on: ubuntu-22.04
timeout-minutes: 15
environment: "Generally Available"
env:
SBT_OPTS: "-Dfile.encoding=UTF-8 -Duser.timezone=UTC -Xmx2g"
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
- name: Cache Coursier
uses: coursier/[email protected]
- name: Setup JDK
uses: coursier/[email protected]
with:
jvm: adoptium:1.11
- name: Import GPG Key
timeout-minutes: 10
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
run: |
echo $PGP_SECRET | base64 --decode | gpg --batch --import
- name: Test and Publish JARs
timeout-minutes: 15
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
run: |
sbt -v "+test; +publishSigned; sonatypeBundleRelease;"