Skip to content

Commit 5c87592

Browse files
committed
fix: release jar file
1 parent c12d152 commit 5c87592

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ jobs:
4141

4242
steps:
4343
- uses: actions/checkout@v2
44+
- name: Set up JDK 11
45+
uses: actions/setup-java@v2
46+
with:
47+
java-version: "11"
48+
distribution: "adopt"
49+
- run: gradle build
4450
- uses: cycjimmy/semantic-release-action@v2
4551
id: semantic
4652
with:

.releaserc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,17 @@
33
"plugins": [
44
"@semantic-release/commit-analyzer",
55
"@semantic-release/release-notes-generator",
6-
"@semantic-release/github",
6+
[
7+
"@semantic-release/github",
8+
{
9+
"assets": [
10+
{
11+
"path": "app/build/libs/app.jar",
12+
"label": "Main executable Jar file"
13+
}
14+
]
15+
}
16+
],
717
[
818
"@google/semantic-release-replace-plugin",
919
{

0 commit comments

Comments
 (0)