* +act

* add make dep
This commit is contained in:
Marc Seitz 2023-03-14 21:32:30 +01:00 committed by GitHub
parent 1debc5c47f
commit e7fc6d75a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,29 @@
distributable:
url: https://github.com/nektos/act/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: nektos/act/tags # reads github tags from github
strip: /^v/
build:
dependencies:
go.dev: '*'
tea.xyz/gx/make: '*'
script: |
make build VERSION={{version}}
mkdir -p {{prefix}}/bin
cp dist/local/act {{prefix}}/bin/act
chmod 755 {{prefix}}/bin/act
provides:
- bin/act
test:
dependencies:
git-scm.org: '*'
script: |
git clone https://github.com/teaxyz/setup.git
cd setup
git checkout v0.15.0
act push --list