21 lines
564 B
YAML
21 lines
564 B
YAML
name: Builder
|
|
run-name: ${{ gitea.actor }} building
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
Build-Project:
|
|
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
|
|
- run: echo "This job's status is ${{ job.status }}."
|