Compile the act ourselves.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-07-31 12:04:59 +02:00
parent 9a8b298ac9
commit 60c0747e24
2 changed files with 9 additions and 1 deletions

View File

@@ -2,6 +2,14 @@ kind: pipeline
name: default
steps:
- name: act
image: golang:1.19
commands:
- cd .. && git clone -b v0.2.48 https://github.com/nektos/act.git && cd act
- export ACT_VERSION=$(git describe --tags --dirty --always | sed -e 's/^v//')
- mkdir bin
- GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=$ACT_VERSION" -o bin/act main.go
- name: build
image: golang:1.19
commands: