2020-12-07 13:35:22 -06:00
|
|
|
name: Release
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [master, main, adaptor-dlc]
|
|
|
|
tags: ["*"]
|
|
|
|
jobs:
|
|
|
|
publish:
|
|
|
|
runs-on: ubuntu-latest
|
2021-04-18 09:02:49 -05:00
|
|
|
timeout-minutes: 60
|
2020-12-07 13:35:22 -06:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2.3.4
|
|
|
|
with:
|
2021-02-22 09:08:52 -06:00
|
|
|
fetch-depth: 0
|
2020-12-07 13:35:22 -06:00
|
|
|
- uses: olafurpg/setup-scala@v10
|
2021-04-28 16:21:09 -05:00
|
|
|
with:
|
|
|
|
java-version: zulu@1.11
|
2020-12-07 13:35:22 -06:00
|
|
|
- uses: olafurpg/setup-gpg@v3
|
|
|
|
- run: sbt ci-release docs/publishWebsite
|
|
|
|
env:
|
|
|
|
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
|
|
|
|
PGP_SECRET: ${{ secrets.PGP_SECRET }}
|
|
|
|
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
|
|
|
|
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
|
|
|
|
GITHUB_DEPLOY_KEY: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}
|