diff --git a/.gitea/workflows/maven.yml b/.gitea/workflows/maven.yml new file mode 100644 index 0000000..adc3d75 --- /dev/null +++ b/.gitea/workflows/maven.yml @@ -0,0 +1,24 @@ +name: Gitea Action Maven build + +on: + push: + branches:['master'] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout the repo + - uses: actions/checkout@v4 + - name: Set up Maven + uses: actions/setup-maven@v3 + with: + maven-version: 3.6.3 + - name: Set up JDK 1.8 + uses: actions/setup-java@v4 + with: + java-version: 1.8 + distribution: 'oracle' + cache: 'maven' + - name: Build with Maven + run: mvn -B package --file pom.xml