Skip to content

Commit 59b8749

Browse files
Improve the gradle settings (#240)
1 parent b0219b2 commit 59b8749

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/publish-libcobj.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Publish package to GitHub Packages
22
on:
33
workflow_dispatch:
4+
release:
5+
types: [published]
46
jobs:
57
publish:
68
runs-on: ubuntu-latest

libcobj/app/build.gradle.kts

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ publishing {
2828
repositories {
2929
maven {
3030
name = "GitHubPackages"
31-
url = uri("https://maven.pkg.github.com/yutaro-sakamoto/opensourcecobol4j")
31+
url = uri("https://maven.pkg.github.com/opensourcecobol/opensourcecobol4j")
3232
credentials {
3333
username = project.findProperty("gpr.user") as String? ?: System.getenv("GITHUB_ACTOR")
3434
password = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN")
@@ -37,6 +37,9 @@ publishing {
3737
}
3838
publications {
3939
register<MavenPublication>("gpr") {
40+
groupId = "jp.osscons.opensourcecobol"
41+
artifactId = "libcobj"
42+
version = "1.0.15b"
4043
from(components["java"])
4144
}
4245
}

0 commit comments

Comments
 (0)