anvilcraft4/.drone.yml
LordMZTE 5169428ce2
All checks were successful
continuous-integration/drone/push Build is passing
fix: remove broken haxe kubejs scripts
2022-06-30 13:40:34 +02:00

39 lines
884 B
YAML

kind: pipeline
type: docker
steps:
- name: release
image: debian:bullseye
commands:
- apt update
- apt install -y
curl
jq
libarchive-dev
libcurl4-openssl-dev
pkgconf
xz-utils
- mkdir -p zig
- cd zig
# this always downloads the latest zig
- curl -o zig.tar.xz $(curl 'https://ziglang.org/download/index.json' | jq -r '.master."x86_64-linux".tarball')
- tar xf zig.tar.xz
- mv zig-linux*/* .
- export PATH="$PATH:$(pwd)"
- cd ..
- ./build.zig
- name: publish
image: plugins/gitea-release
settings:
base_url: https://git.tilera.org
api_key:
from_secret: gitea_token
note: CHANGELOG.md
title: tag-${DRONE_TAG}
files:
- build/ac4-*.zip
when:
event: tag
depends_on:
- release