auth-limbo/.github/workflows/build.yml
s8n-ru cb746147f0 Rename: LoginLimbo -> AuthLimbo
User wants name to literally be 'auth-limbo' to match the auth_limbo
world the plugin manages. Same functionality, same code, just renamed.
2026-04-30 19:19:26 +01:00

46 lines
1.3 KiB
YAML

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 21 (Temurin)
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
cache: maven
# The AuthMe jar is a system-scope dependency referenced by pom.xml
# but is not redistributed in this repo. Set the AUTHME_JAR_URL repo
# secret to a direct download URL for AuthMe-5.6.0-FORK-Universal.jar
# before this workflow can succeed. See lib/README.md for context.
- name: Fetch AuthMe jar
env:
AUTHME_JAR_URL: ${{ secrets.AUTHME_JAR_URL }}
run: |
if [ -z "$AUTHME_JAR_URL" ]; then
echo "::error::AUTHME_JAR_URL secret is not set. See lib/README.md."
exit 1
fi
curl -fsSL "$AUTHME_JAR_URL" -o lib/AuthMe-5.6.0-FORK-Universal.jar
ls -la lib/
- name: Build with Maven
run: mvn -B -ntp package
- name: Upload jar artifact
uses: actions/upload-artifact@v4
with:
name: AuthLimbo-jar
path: target/AuthLimbo-*.jar
if-no-files-found: error