Skip to content

Implement create (#17) #9

Implement create (#17)

Implement create (#17) #9

Workflow file for this run

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
# Sometimes compiling the project leads to yarn.lock changes which creates a conflict with the project version
# derived from sbt-git, this version problem causes the release to fail.
# The workaround is to remove the local changes (git stash) and try releasing again.
- run: sbt ci-release || (git stash && sbt ci-release)
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}