Skip to content

Commit

Permalink
Added publish job for package
Browse files Browse the repository at this point in the history
  • Loading branch information
Volminger authored Apr 26, 2020
1 parent cab7a17 commit f622148
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,18 @@ jobs:

- name: Build and test project with Maven
run: mvn -B package --file pom.xml

publish-job:
runs-on: ubuntu-latest
needs: [build_and_test]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 14
- run: mvn -B package --file pom.xml
- run: mkdir staging && cp target/*.jar staging
- uses: actions/upload-artifact@v1
with:
name: Package
path: staging

0 comments on commit f622148

Please sign in to comment.