Fix act source code patching
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-07-31 14:49:34 +02:00
parent 034c040f8b
commit e21a44878d

View File

@@ -7,8 +7,7 @@ steps:
commands:
- 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//')
- apt update && apt install patch
- patch ../patches/001-workdir-bind.patch
- git apply ../patches/001-workdir-bind.patch
- mkdir bin
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=$ACT_VERSION" -o bin/act main.go