Skip to content

Commit ea06feb

Browse files
committed
ci: fix build docker release
1 parent 6bfa02c commit ea06feb

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ jobs:
6060
run: ./gradlew publish --no-daemon
6161
env:
6262
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63-
GITHUB_ACTOR: ${{ github.actor }}
6463

6564
- name: Extract tag version
6665
id: tag_version
@@ -132,6 +131,10 @@ jobs:
132131
uses: actions/download-artifact@v4
133132
with:
134133
name: mcp-bsl-context-jar
134+
135+
- name: Copy JAR to project root for Docker
136+
run: cp mcp-bsl-context-*.jar mcp-bsl-context.jar
137+
135138
- name: Extract tag version
136139
id: tag_version
137140
run: |

build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ tasks.named("startScripts") {
121121
publishing {
122122
repositories {
123123
maven {
124-
name = "monaco-bsl-context"
125-
url = uri("https://maven.pkg.github.com/alkoleft/monaco-bsl-context")
124+
name = "mcp-bsl-context"
125+
url = uri("https://maven.pkg.github.com/alkoleft/mcp-bsl-context")
126126
credentials {
127-
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME")
128-
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN")
127+
username = System.getenv("GITHUB_ACTOR")
128+
password = System.getenv("GITHUB_TOKEN")
129129
}
130130
}
131131
}

0 commit comments

Comments
 (0)