diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 05e9a66..5c39b6f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -6,13 +6,11 @@ on: - main jobs: - Explore-Gitea-Actions: + Build-Project: runs-on: ubuntu-22.04 steps: - - run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event." - - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - name: List files in the repository + - 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: Build package run: | - ls ${{ gitea.workspace }} + ./mvnw clean package -Pproduction - run: echo "This job's status is ${{ job.status }}."