Skip to content

Update jackson-databind to 2.20.2 (#974) #184

Update jackson-databind to 2.20.2 (#974)

Update jackson-databind to 2.20.2 (#974) #184

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@v7
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@v5
id: jdk11
with:
java-version: 11
distribution: adopt
# sbt 2 itself requires JDK 17+ to run; build.sbt forks the compiler onto JDK11
# via TEST_JAVA_HOME, so this becomes the default JDK on PATH/JAVA_HOME.
- uses: actions/setup-java@v5
with:
java-version: 21
distribution: adopt
- name: Publish snapshots
env:
SONATYPE_USERNAME: '${{ secrets.SONATYPE_USERNAME }}'
SONATYPE_PASSWORD: '${{ secrets.SONATYPE_PASSWORD }}'
TEST_JAVA_HOME: ${{ steps.jdk11.outputs.path }}
run: ./sbt publish