From 8cb89154345caa5cf1f3fc7d019874617da57af9 Mon Sep 17 00:00:00 2001 From: Alex Prudencio Date: Mon, 23 Sep 2024 20:13:26 -0400 Subject: [PATCH] adding checkout step --- .gitea/workflows/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 5c39b6f..8f42597 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -10,6 +10,10 @@ jobs: runs-on: ubuntu-22.04 steps: - run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event on branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." + - name: checkout main + uses: actions/checkout@v4 + with: + ref: main - name: Build package run: | ./mvnw clean package -Pproduction