Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 5627ed2

Browse files
authored
ci: fix failing asset upload (#690)
1 parent 88b52f4 commit 5627ed2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ jobs:
3636
uses: gradle/wrapper-validation-action@v1
3737

3838
- name: Build with Gradle
39-
run: ./gradlew check
39+
run: ./gradlew build
4040
working-directory: ./api-editor
4141

4242
- name: Install dependencies
4343
run: npm ci
4444

4545
- name: Release
46+
run: npx semantic-release
4647
env:
4748
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48-
run: npx semantic-release
4949

5050

5151
build-package-parser:

api-editor/backend/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tasks.withType<KotlinCompile> {
2828
}
2929

3030
tasks.withType<ShadowJar> {
31-
archiveFileName.set("${project.group}-${project.name}-all.jar")
31+
archiveFileName.set("api-editor-shadow.jar")
3232
}
3333

3434
// Dependencies --------------------------------------------------------------------------------------------------------

release.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
{
99
assets: [
1010
{
11-
path: 'api-editor/backend/build/libs/*-all.jar',
11+
path: 'api-editor/backend/build/libs/api-editor-shadow.jar',
1212
name: 'api-editor-${nextRelease.gitTag}.jar',
1313
label: 'API-Editor (${nextRelease.gitTag})',
1414
},

0 commit comments

Comments
 (0)