Files
Cheat-1.21.11/.drone.yml
2026-04-24 14:54:59 +06:00

41 lines
726 B
YAML

kind: pipeline
type: docker
name: build
steps:
- name: build
image: eclipse-temurin:21-jdk
commands:
- chmod +x gradlew
- ./gradlew build --no-daemon
- name: publish
image: eclipse-temurin:21-jdk
commands:
- mkdir -p artifacts
- cp build/libs/*.jar artifacts/
when:
branch:
- main
- name: upload-artifacts
image: plugins/s3
settings:
bucket: cheat-builds
access_key:
from_secret: s3_access_key
secret_key:
from_secret: s3_secret_key
source: artifacts/*.jar
target: /builds/${DRONE_BUILD_NUMBER}/
when:
branch:
- main
trigger:
branch:
- main
event:
- push
- pull_request