Instalar o maven
This commit is contained in:
@@ -18,10 +18,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
cache: 'maven'
|
|
||||||
|
- name: Instalar Maven
|
||||||
|
run: sudo apt-get update && sudo apt-get install -y maven
|
||||||
|
|
||||||
- name: Rodar Testes com Maven
|
- name: Rodar Testes com Maven
|
||||||
run: mvn test
|
run: mvn -B test
|
||||||
|
|
||||||
# Job 2: Trigger da API (Só roda se os testes passarem)
|
# Job 2: Trigger da API (Só roda se os testes passarem)
|
||||||
deploy-trigger:
|
deploy-trigger:
|
||||||
|
|||||||
Reference in New Issue
Block a user