Skip to content

Commit bdad2e4

Browse files
Update maven.yml
1 parent 7f4c8c0 commit bdad2e4

1 file changed

Lines changed: 6 additions & 11 deletions

File tree

.github/workflows/maven.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up JDK 14
20-
uses: actions/setup-java@v1
19+
- uses: actions/setup-java@v1
20+
- run: mvn -B package --file pom.xml
21+
- run: mkdir staging && cp target/*.jar staging
22+
- uses: actions/upload-artifact@v2
2123
with:
22-
java-version: 14
23-
java-package: jdk
24-
- name: Build with Maven
25-
run: mvn -B package -D maven.test.skip=true --file pom.xml
26-
- name: Upload Artifact
27-
uses: actions/upload-artifact@v1
28-
with:
29-
name: gitCliShell
30-
path: ./target/gitCliShell-0.1.jar
24+
name: Package
25+
path: staging

0 commit comments

Comments
 (0)