Skip to content

Update sbt-pgp to 2.3.1 (#862) #145

Update sbt-pgp to 2.3.1 (#862)

Update sbt-pgp to 2.3.1 (#862) #145

Workflow file for this run

name: Snapshot Release
on:
push:
branches:
- main
paths:
- '**.scala'
- '**.java'
- '**.sbt'
tag:
- '!v*'
jobs:
publish_snapshots:
name: Publish snapshots
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 10000
# Fetch all tags so that sbt-dynver can find the previous release version
- run: git fetch --tags
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: adopt
- name: Publish snapshots
env:
SONATYPE_USERNAME: '${{ secrets.SONATYPE_USER }}'
SONATYPE_PASSWORD: '${{ secrets.SONATYPE_PASS }}'
run: ./sbt publish