name: Java CI with Maven
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 21.0.2
uses: actions/setup-java@v1
with:
java-version: 21.0.2
- name: Build with Maven
run: mvn -B clean package --file pom.xml
Update maven.yml · vjamdade1/19thFeb@648e4a4
When I run the build with clean package in my eclipse it work perfectly but When it is in Github actions it is not run correctly.Can anyone give me the solution for that?