Skip to main content
GitHub 文档
Version:
Enterprise Server 3.17
搜索或询问 Copilot
搜索或询问
Copilot
Select language: current language is Simplified Chinese
搜索或询问 Copilot
搜索或询问
Copilot
打开菜单
Open Sidebar
GitHub Actions
/
How-tos
/
用例和示例
主页
GitHub Actions
Get started
Quickstart
Understand GitHub Actions
Concepts
Overview
Continuous integration
Continuous deployment
Actions vs Apps
Workflows and actions
Workflows
Variables
避免重复
Reusable workflows
关于自定义操作
Contexts
Expressions
Deployment environments
Concurrency
Workflow artifacts
Dependency caching
关于监视
工作流程运行通知
About troubleshooting
Runners
GitHub-hosted runners
关于专用网络
关于自托管运行程序
Runner scale sets
关于 ARC
关于对 ARC 的支持
Security
Secrets
GITHUB_TOKEN
OpenID Connect
Script injections
Compromised runners
Billing and usage
How-tos
写入工作流
使用工作流模板
选择工作流何时运行
触发工作流
使用条件控制作业执行
Control workflow concurrency
选择工作流运行位置
选择作业的运行器
在容器中运行作业
选择工作流执行的操作
在工作流中使用作业
查找和自定义操作
工作流中的 GitHub CLI
添加脚本
Using secrets
变量
传递信息
设置作业的默认值
Deploy to environment
运行作业变体
Build and test
Build & test Go
Build & test Java & Ant
Build & test Java & Gradle
Build & test Java with Maven
Build & test .NET
Build & test Node.js
Build & test PowerShell
Build & test Python
Build & test Ruby
Build & test Rust
Build & test Swift
Build & test Xamarin apps
管理工作流和部署
管理工作流运行
手动运行工作流程
重新运行工作流和作业
取消工作流
禁用和启用工作流程
跳过工作流运行
删除工作流运行
下载工作流程项目
删除工作流项目
Manage caches
批准公共分支运行
批准专用分支运行
管理部署
部署历史记录
管理环境
审查部署
创建自定义保护规则
配置自定义保护规则
Third-party platforms
Node.js to Azure App Service
Python to Azure App Service
Java to Azure App Service
.NET to Azure App Service
PHP to Azure App Service
Docker to Azure App Service
Azure Static Web App
Azure Kubernetes Service
Amazon Elastic Container Service
Google Kubernetes Engine
Sign Xcode applications
共享自动化
创建操作
设置退出代码
发布和维护操作
Reuse workflows
创建工作流模板
与企业共享
监视和故障排除
监视
可视化效果图
工作流运行历史记录
添加状态徽章
工作流运行日志
疑难解答
启用调试日志记录
使用 GitHub 支持
GitHub 托管的运行程序
Use GitHub-hosted runners
自定义运行器
专用网络
使用 OIDC
使用 WireGuard
自托管运行程序
管理自承载运行器
添加自托管的运行器
在作业之前或之后运行脚本
将运行器应用作为服务运行
代理服务器
标签运行器
在工作流中使用运行器
使用运行器组管理访问权限
监视和故障排除
删除自托管的运行器
安全性
安全强化部署
AWS 中的 OpenID Connect
Azure 中的 OpenID Connect
Google Cloud Platform 中的 OpenID Connect
HashiCorp Vault 中的 OpenID Connect
云服务提供商中的 OpenID Connect
OpenID Connect 与可重用的工作流程结合使用
用例和示例
项目管理
将标签添加到问题
关闭非活动问题
添加标签以评论议题
计划问题创建
容器化服务
创建 PostgreSQL 服务容器
创建 Redis 服务容器
管理 GitHub Actions
Managing custom actions
参考
Secure use
工作流程语法
触发工作流的事件
工作流命令
Variables reference
Secrets reference
表达式
Contexts reference
Deployments and environments
Dependency caching reference
Metadata syntax
Actions 限制
Reusable workflows reference
OpenID Connect reference
Dockerfile 支持
GitHub-hosted runners reference
Self-hosted runners reference
补充参数和设置
Extending GitHub Actions Importer
Tutorials
Migrate to GitHub Actions
Automated migrations
Automate migration with GitHub Actions Importer
Azure DevOps migration
Bamboo migration
Bitbucket Pipelines migration
CircleCI migration
GitLab migration
Jenkins migration
Travis CI migration
Manual migrations
Migrate from Azure Pipelines
Migrate from CircleCI
Migrate from GitLab CI/CD
Migrate from Jenkins
Migrate from Travis CI
Actions Runner Controller
Quickstart
Authenticating to the API
Deploying runner scale sets
Using ARC in a workflow
Troubleshoot
Create an example workflow
Create a Docker container action
Use GITHUB_TOKEN
Create a JavaScript action
Create a composite action
Store and share data
Controlling deployments
Docker service containers
Publish packages
Publish Docker images
Publish Java packages with Gradle
Publish Java packages with Maven
Publish Node.js packages
GitHub Actions
/
How-tos
/
用例和示例
用例和示例
演示 GitHub Actions 的功能的示例工作流。
管理项目
您可以使用 GitHub Actions 工作流程自动管理议题和拉取请求。
使用容器化服务
您可以在 GitHub Actions 工作流程中使用容器化服务。