添加 act-event-file.json 文件并更新 install-act.sh 以使用事件文件
All checks were successful
/ job1 (push) Successful in 8s
/ job3 (push) Has been skipped
/ job2 (push) Successful in 6s
/ go-hashfiles (push) Successful in 22s
/ hashFiles (push) Successful in 6s

This commit is contained in:
严浩
2024-10-14 12:05:08 +08:00
parent 0395f38947
commit 0a6aed2a9b
2 changed files with 7 additions and 1 deletions

3
act-event-file.json Normal file
View File

@ -0,0 +1,3 @@
{
"ref": "refs/tags/this-is-a-tag"
}

View File

@ -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