GitHub 为每个 GitHub Actions 工作流运行设置默认变量。 你还可以设置自定义变量,以便在单个工作流或多个工作流中使用。 关于变量 变量提供了一种存储和重用非敏感配置信息的方法。 可以将任何配置数据(如编译器标志、用户名或服务器名称)存储为变量。 变量在运行工作流的运行器计算机上插值。 在操作或工作流步骤中运行的命令可以创建、读取
GitHub Actions 关于GitHub Actions 写入工作流 快速入门 关于工作流程 使用工作流模板 选择工作流何时运行 选择工作流运行位置 选择工作流执行的操作 工作流程语法 管理工作流和部署 共享自动化 监视和故障排除 GitHub 托管的运行程序 自托管运行程序 安全性 用例和示例 迁移到 GitHub Actions 管理Git...
Actions Automate any workflow Codespaces Instant dev environments Issues Plan and track work Code Review Manage code changes Discussions Collaborate outside of code Code Search Find more, search less Explore Why GitHub All features Documentation GitHub Skills Blog Solutions By company size En...
This event allows you to run the workflow by using the GitHub REST API or by selecting the Run workflow button in the Actions tab within your repository on GitHub. Using workflow_dispatch, you can choose on which branch you want the workflow to run, as well as set optional inputs...
Actions Automate any workflow Codespaces Instant dev environments Issues Plan and track work Code Review Manage code changes Discussions Collaborate outside of code Code Search Find more, search less Explore Why GitHub All features Documentation GitHub Skills Blog Solutions By company size En...
Possible values are None, Actions, Codespaces, or Dependabot. github.server_url string The URL of the GitHub server. For example: https://github.com. github.sha string The commit SHA that triggered the workflow. The value of this commit SHA depends on the event that triggere...
GitHub Actions About GitHub Actions Write workflows Quickstart About workflows Use workflow templates Choose when workflows run Choose where workflows run Choose what workflows do Workflow syntax Manage workflows and deployments Share automations Monitor & troubleshoot GitHub-hosted runners Self-...
This event allows you to run the workflow by using the GitHub REST API or by selecting the Run workflow button in the Actions tab within your repository on GitHub. Using workflow_dispatch, you can choose on which branch you want the workflow to run, as well as set optional input...
Workflow files that use this action can use the with keyword to set an input value for octocat-eye-color. For more information about the with syntax, see Workflow syntax for GitHub Actions. inputs: num-octocats: description: 'Number of Octocats' required: false default: '1' octocat-e...
GitHub 为每个 GitHub Actions 工作流运行设置默认变量。 你还可以设置自定义变量,以便在单个工作流或多个工作流中使用。