diff --git a/.github/workflows/publish-libcobj.yml b/.github/workflows/publish-libcobj.yml index f419cf3b..83012b15 100644 --- a/.github/workflows/publish-libcobj.yml +++ b/.github/workflows/publish-libcobj.yml @@ -1,6 +1,8 @@ name: Publish package to GitHub Packages on: workflow_dispatch: + release: + types: [published] jobs: publish: runs-on: ubuntu-latest diff --git a/libcobj/app/build.gradle.kts b/libcobj/app/build.gradle.kts index 8717fb8f..5ef0082c 100644 --- a/libcobj/app/build.gradle.kts +++ b/libcobj/app/build.gradle.kts @@ -28,7 +28,7 @@ publishing { repositories { maven { name = "GitHubPackages" - url = uri("https://maven.pkg.github.com/yutaro-sakamoto/opensourcecobol4j") + url = uri("https://maven.pkg.github.com/opensourcecobol/opensourcecobol4j") credentials { username = project.findProperty("gpr.user") as String? ?: System.getenv("GITHUB_ACTOR") password = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN")