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

Commit 1fab7bb

Browse files
committed
Upload artifacts from a single workflow only
Signed-off-by: Lilly Rose Berner <[email protected]>
1 parent 99e498c commit 1fab7bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-java.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
run: ./gradlew build --no-daemon --warning-mode=all
3434
- name: capture build artifacts
3535
uses: actions/upload-artifact@v4
36+
if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Upload artifacts from one job, ignore the rest
3637
with:
3738
name: server-stats-artifacts
3839
path: build/libs

0 commit comments

Comments
 (0)