Skip to content

Update sbt-ci-release to 1.9.0 (#317) #63

Update sbt-ci-release to 1.9.0 (#317)

Update sbt-ci-release to 1.9.0 (#317) #63

Workflow file for this run

name: Publish
on:
push:
branches: # Snapshots
- main
tags: ["**"] # Releases
release:
types: [published]
jobs:
publish-artifacts:
runs-on: ubuntu-22.04
if: ${{ github.repository_owner == 'sbt' }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 8
cache: sbt
- uses: sbt/setup-sbt@v1
- name: Publish artifacts
run: sbt ci-release
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}