Add sbt installation step to CI (#127) #3
Workflow file for this run
This file contains hidden or 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: | |
tags: | |
- '*' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: coursier/cache-action@v6 | |
- name: Install sbt | |
uses: sbt/setup-sbt@v1 | |
- name: Make site | |
run: sbt makeSite | |
- name: Publish ScalaDoc | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: target/site | |
clean: false | |
- name: Deploy scala-referer-parser to Maven Central | |
run: sbt ci-release | |
env: | |
PGP_PASSPHRASE: ${{ secrets.SONA_PGP_PASSPHRASE }} | |
PGP_SECRET: ${{ secrets.SONA_PGP_SECRET }} | |
SONATYPE_USERNAME: ${{ secrets.SONA_USER }} | |
SONATYPE_PASSWORD: ${{ secrets.SONA_PASS }} |