mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
33 lines
689 B
YAML
33 lines
689 B
YAML
distributable:
|
|
url: https://github.com/nektos/act/archive/refs/tags/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: nektos/act/tags
|
|
strip: /^v/
|
|
|
|
build:
|
|
dependencies:
|
|
go.dev: '*'
|
|
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
|
|
|
|
provides:
|
|
- bin/act
|
|
|
|
test:
|
|
dependencies:
|
|
git-scm.org: '*'
|
|
script: |
|
|
git clone https://github.com/pkgxdev/setup.git
|
|
cd setup
|
|
git checkout v0.15.0
|
|
act push --list
|