From 07e77ab0da02ef7e6caea4eb23dd790bde4abb0e Mon Sep 17 00:00:00 2001 From: Santiago Nicolas Diaz Conde <78763775+fapret@users.noreply.github.com> Date: Thu, 17 Oct 2024 22:16:30 -0300 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..1ae641a --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,29 @@ +name: Java CI + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Check out the repository + uses: actions/checkout@v3 + + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + + - name: Install Ant + run: sudo apt-get install -y ant + + - name: Build with Ant + run: ant -f proyecto/java_microservice/build.xml