Skip to content

Commit

Permalink
Fix java-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
helltractor authored Oct 28, 2024
1 parent 5ee0cf8 commit 91f5d3e
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/java-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ on:

jobs:
build:

runs-on: ubuntu-latest
working-directory: build

steps:
- name: Checkout code
Expand All @@ -24,11 +22,9 @@ jobs:
java-version: '21'
distribution: 'adopt'

- name: Build with Maven
run: mvn clean install

- name: Run tests
run: mvn test

- name: Package
run: mvn package
- name: Build, Test and Package with Maven
run: |
mvn clean install
mvn test
mvn package
working-directory: build

0 comments on commit 91f5d3e

Please sign in to comment.