forked from Ivasoft/github-actions
Fix missing patch executable
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -7,6 +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
|
||||
- mkdir bin
|
||||
- GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=$ACT_VERSION" -o bin/act main.go
|
||||
|
||||
Reference in New Issue
Block a user