Skip to content

split, fix and cleanup predef and runBefore handling (#176) #20

split, fix and cleanup predef and runBefore handling (#176)

split, fix and cleanup predef and runBefore handling (#176) #20

Workflow file for this run

name: release
concurrency: release
on:
push:
branches: [master, main]
tags: ["*"]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 19
- name: Install sbt
if: matrix.os == 'macos-latest'
run: brew install sbt
- run: sudo apt update && sudo apt install -y gnupg
- run: echo $PGP_SECRET | base64 --decode | gpg --batch --import
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- uses: actions/cache@v3
with:
path: |
~/.sbt
~/.coursier
key: ${{ runner.os }}-sbt-${{ hashfiles('**/build.sbt') }}
- run: sbt clean core/assembly test IntegrationTest/test ciReleaseTagNextVersion ciReleaseSonatype
env:
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}