v1.11.0-M8 #49
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Sonatype | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
release: | |
# Disabling temporarily as it is failing | |
if: false | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
env: | |
CI_RELEASE: publishSigned | |
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | |
PGP_SECRET: ${{ secrets.PGP_SECRET }} | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
cache: 'sbt' | |
check-latest: true | |
- name: Setup SBT | |
uses: sbt/setup-sbt@v1 | |
- name: Publish To Sonatype | |
run: sbt -Dsbt.color=always -Dsbt.supershell=false ci-release |