Merge pull request #788 from Banno/update/sbt-avrohugger-2.5.6 #420
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 | |
on: | |
push: | |
branches: [master, main] | |
tags: ["*"] | |
jobs: | |
publish: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- uses: olafurpg/setup-scala@v13 | |
- run: sbt ci-release | |
env: | |
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | |
PGP_SECRET: ${{ secrets.PGP_SECRET }} | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | |
- name: Set up Ruby 2.6 | |
uses: actions/setup-ruby@v1 | |
with: | |
ruby-version: 2.6 | |
- name: Install Jekyll | |
run: | | |
gem install bundler | |
bundle install --gemfile=site/Gemfile | |
- name: Publish microsite | |
run: | | |
sbt site/publishMicrosite | |
env: | |
GITHUB_TOKEN: ${{ secrets.SITE_TOKEN }} |