Skip to content

Merge pull request #314 from eed3si9n/wip/cross #60

Merge pull request #314 from eed3si9n/wip/cross

Merge pull request #314 from eed3si9n/wip/cross #60

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 }}