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

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

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
{
"ref": "refs/tags/this-is-a-tag"
}
+4 -1
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