2024-10-29 18:55:57 +00:00
name : PR Builder
run-name : ${{ gitea.actor }} building PR
on : [ pull_request]
2024-09-20 02:28:57 +00:00
jobs :
2024-10-29 18:55:57 +00:00
Build-PR :
2024-09-23 23:52:20 +00:00
runs-on : ubuntu-22.04
2024-09-20 02:28:57 +00:00
steps :
2024-10-29 18:55:57 +00:00
- run : echo "The job was automatically triggered by a ${{ gitea.event_name }} event on branch ${{ gitea.head_ref }} and ref is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name : Build PR
if : gitea.base_ref == 'main'
2024-09-20 02:28:57 +00:00
run : |
2024-10-29 18:55:57 +00:00
git clone --single-branch --branch "${{ gitea.head_ref }}" https://git.primefactorsolutions.com/PFS/pfs-intra.git && cd pfs-intra && ./mvnw clean package -Pproduction
2024-09-20 02:28:57 +00:00
- run : echo "This job's status is ${{ job.status }}."