forgejo-runner/package.yml
2025-05-01 22:22:08 +03:00

24 lines
928 B
YAML

name : forgejo-runner
version : 6.3.1
release : 1
source :
- https://code.forgejo.org/forgejo/runner/archive/v6.3.1.tar.gz : 15b8f70a5d9825c5fa338c9570de5f4d8573a96e518e14b970eb19971b88cc77
homepage : https://code.forgejo.org/forgejo/runner
license : MIT
component : programming.tools
summary : CI/CD job runner for Forgejo
description: |
CI/CD job runner for Forgejo
builddeps :
- golang
build : |
go build \
-o forgejo-runner \
-ldflags "-X gitea.com/gitea/act_runner/internal/pkg/ver.version=6.3.1"
./forgejo-runner generate-config > config.yml
install : |
sed -i -e "s|file: \.runner|file: /etc/forgejo-runner/.runner|" config.yml
install -Dm755 forgejo-runner -t $installdir/usr/bin/
install -Dm644 config.yml -t $installdir/etc/forgejo-runner/
install -Dm644 $pkgfiles/forgejo-runner.service -t $installdir/usr/lib/systemd/system/