name: msbuild on: [push] env: BUILD_TYPE: Release jobs: build: runs-on: ubuntu-gitea steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 with: distribution: 'adopt' java-version: '17' - name: Install Maven run: apt update && apt search maven && apt install -y maven - name: Validate installation run: | java -version mvn --version echo $JAVA_HOME mvn -B verify --file pom.xml - name: Build And Test run: | mvn compiler:compile mvn compiler:testCompile mvn surefire:test