添加 act-event-file.json 文件并更新 install-act.sh 以使用事件文件
This commit is contained in:
3
act-event-file.json
Normal file
3
act-event-file.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"ref": "refs/tags/this-is-a-tag"
|
||||||
|
}
|
@ -32,4 +32,7 @@ act --artifact-server-path /tmp/artifacts
|
|||||||
act -v
|
act -v
|
||||||
|
|
||||||
# ##########################################################
|
# ##########################################################
|
||||||
act --pull=false --container-architecture linux/amd64 -P ubuntu-latest=catthehacker/ubuntu:act-latest --secret-file my.secrets
|
act --pull=false --container-architecture linux/amd64 -P ubuntu-latest=catthehacker/ubuntu:act-latest --secret-file my.secrets
|
||||||
|
|
||||||
|
# https://nektosact.com/usage/index.html#using-event-file-to-provide-complete-event-payload
|
||||||
|
act --eventpath act-event-file.json
|
Reference in New Issue
Block a user