Skip to content

Update gatling-build-plugin to 6.1.2 #34

Update gatling-build-plugin to 6.1.2

Update gatling-build-plugin to 6.1.2 #34

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
defaults:
run:
shell: bash
jobs:
release:
if: github.repository == 'gatling/gatling-highcharts'
runs-on: ubuntu-latest
timeout-minutes: 60
env:
JAVA_OPTS: "-Xmx6G"
SBT_OPTS: "-Dsbt.ci=true"
steps:
- uses: actions/checkout@v2
- name: Setup JDK
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '21'
- name: Prepare environment
env:
SONATYPE_SBT: ${{ secrets.SONATYPE_SBT }}
SONATYPE_PGP_SECRET: ${{ secrets.SONATYPE_PGP_SECRET }}
run: |
mkdir --parents ~/.sbt/1.0 || true
echo "$SONATYPE_SBT" > ~/.sbt/1.0/sonatype.sbt
echo -n "$SONATYPE_PGP_SECRET" | base64 --decode | gpg --batch --import
# - name: Cache
# No cache for release! We want clean and full release!
- name: Release
id: release
env:
PGP_PASSPHRASE: ${{ secrets.SONATYPE_PGP_PASSPHRASE }}
run: sbt "release with-defaults"
- name: Message
run: echo "Do NOT forget to release the staging repository on https://oss.sonatype.org/"