Skip to content

internal: Avoid deprecated java.net.URL constructor (#853) #143

internal: Avoid deprecated java.net.URL constructor (#853)

internal: Avoid deprecated java.net.URL constructor (#853) #143

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