playwrightjava1/.gitea/workflows/build.yml
Greg Gauthier e1157b1cbc
Some checks failed
msbuild / build (push) Failing after 5m51s
Update .gitea/workflows/build.yml
2024-07-23 10:33:03 +00:00

32 lines
596 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 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