Skip to content

Commit 24e30ad

Browse files
committed
[DOP-18232] Fix release workflow
1 parent b572cd6 commit 24e30ad

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,14 @@ jobs:
2323
PGP_SECRET: ${{ secrets.PGP_SECRET }}
2424
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
2525
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
26+
27+
- name: Create Github release
28+
id: create_release
29+
uses: softprops/action-gh-release@v2
30+
with:
31+
name: ${{ github.ref_name }}
32+
draft: false
33+
prerelease: false
34+
token: ${{ secrets.GITHUB_TOKEN }}
35+
files: |
36+
target/scala-2.12/*.jar

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ startYear := Some(2024)
1414

1515
licenses += "Apache License, Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")
1616

17-
sonatypeCredentialHost := "s01.oss.sonatype.org"
18-
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
17+
import xerial.sbt.Sonatype.sonatypeCentralHost
1918

19+
sonatypeCredentialHost := sonatypeCentralHost
2020

2121
inThisBuild(List(
2222
semanticdbEnabled := true, // enable SemanticDB

0 commit comments

Comments
 (0)