Skip to content

Documentation updated to version 3.0.0-M3 (#277) #4

Documentation updated to version 3.0.0-M3 (#277)

Documentation updated to version 3.0.0-M3 (#277) #4

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
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
- name: Cache Coursier
uses: coursier/cache-action@v6.4
- name: Setup JDK
uses: coursier/setup-action@v1.3.4
with:
jvm: adoptium:1.17
- 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: 10
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
run: |
sbt --client "+test; +publishSigned; sonatypeBundleRelease;"