Files
TrisolarisServer/.gitea/workflows/build.yml
deploy 4998701f84
Some checks failed
build / deploy (push) Has been cancelled
build / build (push) Has been cancelled
Make CI build verbose
2026-01-26 17:12:45 +05:30

36 lines
819 B
YAML

name: build
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "**" ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "17"
cache: gradle
- name: Build (verbose)
env:
GRADLE_OPTS: "-Dorg.gradle.internal.http.connectionTimeout=60000 -Dorg.gradle.internal.http.socketTimeout=60000"
run: ./gradlew build -x test --no-daemon --info --stacktrace
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