Skip to content

Updated: Update base pom.xml #180

Updated: Update base pom.xml

Updated: Update base pom.xml #180

Workflow file for this run

name: RoyalCommands Build
on:
push:
pull_request:
jobs:
# Build RoyalCommands using Maven
build-rcmds:
runs-on: ubuntu-latest
if: "!contains(github.event.commits[0].message, '[ci-skip]')"
steps:
- name: Checkout RoyalCommands
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: maven
- name: Build RoyalCommands with Maven
env:
GITHUB_USERNAME: ${{ secrets.USERNAME }}
GITHUB_TOKEN: ${{ secrets.PAT }}
run: mvn clean package --settings settings.xml
- uses: actions/upload-artifact@v4
with:
name: RoyalCommands (#${{ github.run_number }})
path: |
/home/runner/work/RoyalCommands/RoyalCommands/modules/RoyalCommands/target/*.jar
/home/runner/work/RoyalCommands/RoyalCommands/modules/RoyalCommands/target/RoyalCommands