Skip to content

Commit de0521d

Browse files
committed
Upload artifacts in Github Action
1 parent df6f0b9 commit de0521d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/gradle.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@ jobs:
2424
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
2525
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
2626
- name: Setup Gradle
27-
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
27+
uses: gradle/actions/setup-gradle@v5
2828

2929
- name: Build with Gradle Wrapper
3030
run: ./gradlew build
31+
32+
- name: Upload build artifacts
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: mod-jars
36+
path: build/libs/*.jar

0 commit comments

Comments
 (0)