Skip to content

Commit be0da96

Browse files
authored
Update maven.yml
upload Artifacts
1 parent 788f0ca commit be0da96

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,18 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222
- name: Set up JDK 17
23-
uses: actions/setup-java@v3
23+
uses: actions/setup-java@v4
2424
with:
2525
java-version: '17'
2626
distribution: 'temurin'
2727
cache: maven
2828
- name: Build with Maven
2929
run: mvn -B package --file pom.xml
30+
- run: mkdir staging && cp target/*.jar staging
31+
- uses: actions/upload-artifact@v4
32+
with:
33+
name: Package
34+
path: staging
3035

3136
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
3237
- name: Update dependency graph

0 commit comments

Comments
 (0)