Skip to content

Commit 5561e66

Browse files
committed
feat(actions): add artifact upload
1 parent 383c8f8 commit 5561e66

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
33

4-
name: Java CI with Maven
4+
name: Build
55

66
on:
77
push:
@@ -11,9 +11,7 @@ on:
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
16-
1715
steps:
1816
- uses: actions/checkout@v3
1917
- name: Set up JDK 11
@@ -24,4 +22,8 @@ jobs:
2422
cache: maven
2523
- name: Build with Maven
2624
run: mvn -B package --file pom.xml
27-
25+
- name: Upload Artifact
26+
uses: actions/upload-artifact@v3
27+
with:
28+
name: Package
29+
path: staging

0 commit comments

Comments
 (0)