Update sbt-pgp to 2.3.1 (#862) #145
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |