Skip to content

Release

Release #59

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
- name: Install jekyll
run: |
gem install ffi -v 1.17.0
gem install jekyll -v 4.0.0
- name: Install GPG
uses: olafurpg/setup-gpg@v3
- name: Compile
run: sbt +compile
- name: Run tests
run: sbt +test
- name: Run checks
run: sbt check
- name: Release
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
run: sbt ci-release
- name: Publish microsite
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no"
run: |
eval "$(ssh-agent -s)"
ssh-add - <<< "${DEPLOY_KEY}"
git config --global user.email "[email protected]"
git config --global user.name "Release bot"
sbt site/publishMicrosite