ci: fix fatjar file paths in ci.yml + release.yml
ci / JVM build + tests (pull_request) Failing after 32s
ci / JVM build + tests (pull_request) Failing after 32s
shadowJar produces `standalone-0.1.0-all.jar` (archiveBaseName +
classifier.all), not `standalone-all.jar`. Use `*-all.jar` glob
patterns in upload + attach steps; works regardless of version.
🤖 Generated with [opencode]
This commit is contained in:
@@ -56,8 +56,8 @@ jobs:
|
|||||||
./gradlew :standalone:shadowJar \
|
./gradlew :standalone:shadowJar \
|
||||||
-Dorg.gradle.jvmargs=-Xmx4096M \
|
-Dorg.gradle.jvmargs=-Xmx4096M \
|
||||||
--no-daemon --no-watch-fs --stacktrace
|
--no-daemon --no-watch-fs --stacktrace
|
||||||
test -f standalone/build/libs/standalone-all.jar \
|
test -f standalone/build/libs/standalone-*-all.jar \
|
||||||
&& echo "shadowJar OK: $(du -h standalone/build/libs/standalone-all.jar)"
|
&& echo "shadowJar OK: $(du -h standalone/build/libs/standalone-*-all.jar)"
|
||||||
|
|
||||||
- name: Build :agentik-cli shadowJar
|
- name: Build :agentik-cli shadowJar
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@@ -115,9 +115,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: agentik-fatjars
|
name: agentik-fatjars
|
||||||
path: |
|
path: |
|
||||||
standalone/build/libs/standalone-all.jar
|
standalone/build/libs/standalone-*-all.jar
|
||||||
agentik-cli/build/libs/agentik-cli-all.jar
|
agentik-cli/build/libs/agentik-cli-*-all.jar
|
||||||
agentik-tui/build/libs/agentik-tui-all.jar
|
agentik-tui/build/libs/agentik-tui-*-all.jar
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 90
|
retention-days: 90
|
||||||
|
|
||||||
@@ -130,6 +130,6 @@ jobs:
|
|||||||
token: ${{ secrets.RELEASE_TOKEN }}
|
token: ${{ secrets.RELEASE_TOKEN }}
|
||||||
tag: ${{ github.ref_name }}
|
tag: ${{ github.ref_name }}
|
||||||
files: |
|
files: |
|
||||||
standalone/build/libs/standalone-all.jar
|
standalone/build/libs/standalone-*-all.jar
|
||||||
agentik-cli/build/libs/agentik-cli-all.jar
|
agentik-cli/build/libs/agentik-cli-*-all.jar
|
||||||
agentik-tui/build/libs/agentik-tui-all.jar
|
agentik-tui/build/libs/agentik-tui-*-all.jar
|
||||||
|
|||||||
Reference in New Issue
Block a user