Skip to content

Commit 21abcb7

Browse files
committed
Fixing missing artifact
1 parent faed48d commit 21abcb7

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ jobs:
6262
with:
6363
name: target
6464
path: target
65+
if-no-files-found: error
66+
retention-days: 7
6567

6668
- name: Build and push [jvm-edge]
6769
run: docker buildx build --push -t ghcr.io/javabin/submittheforce:jvm-edge -f src/main/docker/Dockerfile.jvm --platform linux/amd64,linux/arm64 .
@@ -102,6 +104,7 @@ jobs:
102104
with:
103105
name: uber-jar
104106
path: target/submit-runner.jar
107+
if-no-files-found: error
105108
retention-days: 7
106109

107110
- name: Upload asset
@@ -146,7 +149,8 @@ jobs:
146149
uses: actions/upload-artifact@v4
147150
with:
148151
name: native-amd64
149-
path: target/submit-runner-linux-amd64
152+
path: target/submit-runner-linux-x86_64
153+
if-no-files-found: error
150154
retention-days: 7
151155

152156
- name: Upload asset
@@ -155,7 +159,7 @@ jobs:
155159
with:
156160
token: ${{ secrets.GITHUB_TOKEN }}
157161
file: target/submit-runner-linux-x86_64
158-
name: submit-runner-linux-amd64
162+
name: submit-runner-linux-x86_64
159163
label: Native [amd64]
160164

161165
native-arm64:
@@ -191,6 +195,7 @@ jobs:
191195
with:
192196
name: native-arm64
193197
path: target/submit-runner-linux-aarch64
198+
if-no-files-found: error
194199
retention-days: 7
195200

196201
- name: Upload asset

0 commit comments

Comments
 (0)