Files
TrisolarisServer/.gitea/workflows/build.yml
deploy dfe44927ef
Some checks failed
build / build (push) Waiting to run
build / deploy (push) Has been cancelled
Fix actions runner label and JDK
2026-01-26 17:00:57 +05:30

33 lines
629 B
YAML

name: build
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "**" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 19
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "17"
cache: gradle
- name: Build
run: ./gradlew build -x test --no-daemon
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Trigger deploy webhook
run: |
curl -sS -X POST http://127.0.0.1:9000/hooks/deploy-trisolarisserver