Files
adb-tooling/.gitea/workflows/deployment.yaml
T
ericampire fcd9b61e27
Build & Test Desktop JAR / build-jar (push) Successful in 3m37s
chore: Update the main branch
2026-06-13 10:14:06 +00:00

38 lines
996 B
YAML

name: Build & Test Desktop JAR
on:
push:
branches: [master]
tags: ["v*"]
workflow_dispatch:
jobs:
build-jar:
runs-on: ubuntu-latest # your Linux k3s runner
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "21"
- name: Make gradlew executable
run: chmod +x ./gradlew
# Runs commonTest + jvmTest. If a test fails, the job stops here and no jar is built.
- name: Run tests
run: ./gradlew --no-daemon jvmTest
# Cross-platform uber jar (see the build.gradle.kts note below for macOS support)
- name: Build uber jar
run: ./gradlew --no-daemon packageUberJarForCurrentOS
- name: Upload jar artifact
uses: actions/upload-artifact@v3
with:
name: adbkey-uber-jar
path: "**/build/compose/jars/*.jar"
if-no-files-found: error