Skip to content

Update sbt-version-policy to 3.2.0 #136

Update sbt-version-policy to 3.2.0

Update sbt-version-policy to 3.2.0 #136

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: coursier/[email protected]
with:
jvm: temurin:17
apps: sbt
- name: Test and compute coverage
run: sbt scalafmtCheckAll coverage +test coverageReport coverageAggregate
- name: Codecov
uses: codecov/[email protected]
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: coursier/[email protected]
with:
jvm: temurin:17
apps: sbt
- run: sbt versionCheck ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
- uses: codecov/codecov-action@v2
publishSite:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: coursier/[email protected]
with:
jvm: temurin:17
apps: sbt
- name: Generate website
run: sbt documentation/makeSite
- uses: JamesIves/[email protected]
with:
repository-name: endless4s/endless4s.github.io
branch: master
token: ${{ secrets.DOC_GITHUB_TOKEN }}
folder: documentation/target/site