pantry/projects/github.com/nektos/act/package.yml

34 lines
689 B
YAML
Raw Normal View History

2023-03-14 23:32:30 +03:00
distributable:
url: https://github.com/nektos/act/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
2023-10-02 07:14:49 +03:00
github: nektos/act/tags
2023-03-14 23:32:30 +03:00
strip: /^v/
build:
dependencies:
go.dev: '*'
2023-10-02 07:14:49 +03:00
script:
- run: |
sed -i.bak 's/-ldflags "/-ldflags "-buildmode=pie /' Makefile
rm Makefile.bak
if: linux
- make build VERSION={{version}}
- run: |
cp $SRCROOT/dist/local/act .
chmod 755 {{prefix}}/bin/act
working-directory: ${{prefix}}/bin
2023-03-14 23:32:30 +03:00
provides:
- bin/act
test:
dependencies:
git-scm.org: '*'
script: |
2023-10-02 07:14:49 +03:00
git clone https://github.com/pkgxdev/setup.git
2023-03-14 23:32:30 +03:00
cd setup
git checkout v0.15.0
act push --list