Skip to content

Publish a new release #69

Publish a new release

Publish a new release #69

Workflow file for this run

name: Publish a new release
on:
release:
types: [published]
jobs:
release:
runs-on: ubuntu-latest
env:
JAVA_OPTS: -Xms5120M -Xmx5120M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
JVM_OPTS: -Xms5120M -Xmx5120M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- uses: actions/checkout@v1
- run: git fetch -f --depth=1 origin '+refs/tags/*:refs/tags/*'
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1
with:
jvm: adopt:8
apps: sbt
- name: Release
run: sbt ";+instrumentation/publishLocal; release"
shell: bash
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}