forked from Ivasoft/github-actions
This commit is contained in:
@@ -7,8 +7,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- git clone -b v0.2.48 https://github.com/nektos/act.git && cd act
|
- 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//')
|
- export ACT_VERSION=$(git describe --tags --dirty --always | sed -e 's/^v//')
|
||||||
- apt update && apt install patch
|
- git apply ../patches/001-workdir-bind.patch
|
||||||
- patch ../patches/001-workdir-bind.patch
|
|
||||||
- mkdir bin
|
- mkdir bin
|
||||||
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=$ACT_VERSION" -o bin/act main.go
|
- 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