添加 act-event-file.json 文件并更新 install-act.sh 以使用事件文件

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

View File

@@ -32,4 +32,7 @@ act --artifact-server-path /tmp/artifacts
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