mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(act)
This commit is contained in:
parent
917646040f
commit
b233de92ed
1 changed files with 12 additions and 7 deletions
|
@ -3,17 +3,22 @@ distributable:
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
github: nektos/act/tags # reads github tags from github
|
github: nektos/act/tags
|
||||||
strip: /^v/
|
strip: /^v/
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
go.dev: '*'
|
go.dev: '*'
|
||||||
script: |
|
script:
|
||||||
make build VERSION={{version}}
|
- run: |
|
||||||
mkdir -p {{prefix}}/bin
|
sed -i.bak 's/-ldflags "/-ldflags "-buildmode=pie /' Makefile
|
||||||
cp dist/local/act {{prefix}}/bin/act
|
rm Makefile.bak
|
||||||
chmod 755 {{prefix}}/bin/act
|
if: linux
|
||||||
|
- make build VERSION={{version}}
|
||||||
|
- run: |
|
||||||
|
cp $SRCROOT/dist/local/act .
|
||||||
|
chmod 755 {{prefix}}/bin/act
|
||||||
|
working-directory: ${{prefix}}/bin
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/act
|
- bin/act
|
||||||
|
@ -22,7 +27,7 @@ test:
|
||||||
dependencies:
|
dependencies:
|
||||||
git-scm.org: '*'
|
git-scm.org: '*'
|
||||||
script: |
|
script: |
|
||||||
git clone https://github.com/teaxyz/setup.git
|
git clone https://github.com/pkgxdev/setup.git
|
||||||
cd setup
|
cd setup
|
||||||
git checkout v0.15.0
|
git checkout v0.15.0
|
||||||
act push --list
|
act push --list
|
||||||
|
|
Loading…
Reference in a new issue