playwrightjava1/.gitea/workflows/build.yml
Greg Gauthier 0317fe5ee3
Some checks failed
msbuild / build (push) Failing after 2m20s
Update .gitea/workflows/build.yml
2024-07-23 10:41:09 +00:00

32 lines
630 B
YAML

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