Updated: Bump to 5.3.0, soft release for now to get any feedback #203
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |