Skip to content

Commit 685148e

Browse files
committed
gather artifacts before uploading them
1 parent 03a16b3 commit 685148e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,12 @@ jobs:
2626
run: chmod +x ./gradlew
2727
- name: build
2828
run: ./gradlew clean chiseledBuild
29+
- name: gather artifacts
30+
run: |
31+
mkdir -p mods
32+
cp -t mods/ versions/**/build/libs/*.jar
2933
- name: capture build artifacts
3034
uses: actions/upload-artifact@v4
3135
with:
3236
name: Artifacts
33-
path: versions/**/build/libs/*.jar
37+
path: mods/*.jar

0 commit comments

Comments
 (0)