forked from Ivasoft/github-actions
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user