# main.yml# Workflow's namename:Build Electron App For Win/Mac# Workflow's triggeron:push:tags:-'v*.*.*'# Workflow's jobsjobs:# job's idrelease:# job's namename:build and release electron app# the type of machine to run the job onruns-on:${{ matrix.os }}# create a build ...
on:# Trigger the workflow on push or pull request,# but only for the main branchpush:branches:-mainpull_request:branches:-main# Also trigger on page_build, as well as release created eventspage_build:release:types:# This configuration does not affect the page_build event ab...
on:# Trigger the workflow on push or pull request,# but only for the main branchpush:branches:-mainpull_request:branches:-main# Also trigger on page_build, as well as release created eventspage_build:release:types:# This configuration does not affect the page_build event ab...
Add a new workflow to your.github/main.workflowto trigger onrelease. 2. Create the Action Create an action that uses this repositorybitoiu/release-notify-action@masteror points to Docker Hub atdocker://bitoiu/release-notifiy-action Using the Visual Editor create a new secret on the action na...
接下来让我们看看应用要如何接入 Github Actions 以create-ssr-app 为例 创建配置文件 $ mkdir -p .github/workflows $ touch .github/workflows/CI.yaml 监听Git 命令 在push 代码 以及 合并 PR 的时候触发 CI 工作 name: CI # Controls when the action will run. Triggers the workflow on push or pull...
# Trigger the workflow on release activity on: release: # Only use the types keyword to narrow down the activity types that will trigger your workflow. types: [published, created, edited] on.<push|pull_request>.<branches|tags> 使用push 和pull_request 事件时,您可以将工作流配置为在特定分支...
Aneventis a specific activity in a repository that triggers aworkflowrun. For example, an activity can originate from GitHub when someone creates a pull request, opens an issue, or pushes a commit to a repository. You can also trigger a workflow to run on aschedule, byposting to a REST ...
Using Cloudflare Workers, CRON Triggers, and KV storag digitalocean/nginxconfig.io - ⚙️ NGINX config generator on steroids 💉 ineo6/git-master - Git Master Extension for git file tree, support GitHub、GitLab 、 Gitee、Gitea、Gogs Zenquan/learnCode - 方便学习的代码仓库 koodo-reader/...
Github Action的on属性里的事件开始的。Github Action比较强大的地方是,除了常规的 *push和定时事件外,他还支持茫茫多的 github hook 事件。个人感觉这是它自己深度集成后对其他第三方服务的优势所在。不过有一些事件是可以带参数的,我看了老半天才看懂https://help.github.com/en/articles/events-that-trigger-workf...
# Also trigger on page_build, as well as release created events page_build: release: types: # This configuration does not affect the page_build event above - created 详细文档请参考:触发事件 jobs jobs 可以包含一个或多个 job ,如: