Skip to content

Commit

Permalink
changed github action
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrizZz110 committed Sep 16, 2024
1 parent 268c9cd commit 04b9871
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
run-name: Build the Zoomer by @${{ github.actor }}
on: push
steps:
- uses: actions/checkout@v4
- name: Set up JDK 8 for x64 and run maven
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'oracle'
architecture: x64
- run: mvn -B build --file pom.xml

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
java-version: '8'
- name: Build with Maven
run: |
mvn clean install -DskipTests
- name: Test with Maven
run: |
mvn verify --no-transfer-progress -DtrimStackTrace=false

0 comments on commit 04b9871

Please sign in to comment.