diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..261ecf8 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,20 @@ +name: Gitea Actions Java Build +run-name: ${{ gitea.actor }} está buildando o coolify-back 🚀 +on: [push] + +jobs: + build-projeto: + runs-on: ubuntu-latest # Ou o label que você definiu no seu runner + steps: + - name: Checkout do código + uses: actions/checkout@v4 + + - name: Configurar Java JDK + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + cache: 'maven' + + - name: Build com Maven + run: mvn -B package --file pom.xml \ No newline at end of file