Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 10 additions & 17 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,19 @@ jobs:
- name: Build with Maven
run: mvn -B package --file pom.xml

publish-job:

runs-on: ubuntu-latest
needs: build_test
steps:
publish-job:
runs-on: ubuntu-latest
needs: build_test
steps:
- uses: actions/checkout@v3

- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Build and test with Maven
run: mvn --batch-mode --update-snapshots verify

- name: Upload build artifact
uses: actions/upload-artifact@v3
- run: mvn --batch-mode --update-snapshots verify
- run: mkdir staging && cp target/*.jar staging
- uses: actions/upload-artifact@v3
with:
name: my-app-jar
path: target/*.jar



name: Package
path: staging
Loading