Skip to main content
GitHub 文档
Version:
Enterprise Server 3.15
搜索或询问 Copilot
搜索或询问
Copilot
Select language: current language is Simplified Chinese
搜索或询问 Copilot
搜索或询问
Copilot
打开菜单
Open Sidebar
GitHub Actions
/
操作方法
/
写入工作流
/
选择工作流运行位置
主页
GitHub Actions
开始使用
快速入门
Understand GitHub Actions
Continuous integration
Continuous deployment
Actions vs Apps
概念
工作流和操作
工作流
变量
上下文
表达式
Reusable workflows
Custom actions
Deployment environments
并发
Workflow artifacts
Dependency caching
工作流程运行通知
运行器
GitHub-hosted runners
Larger runners
Self-hosted runners
Private networking
Runner groups
Runner scale sets
Actions Runner Controller
Support for ARC
安全性
机密
GITHUB_TOKEN
OpenID Connect
脚本注入
被入侵的运行器
计费和使用情况
操作方法
写入工作流
使用工作流模板
选择工作流何时运行
触发工作流
使用条件控制作业执行
Control workflow concurrency
选择工作流运行位置
选择作业的运行器
在容器中运行作业
选择工作流执行的操作
在工作流中使用作业
查找和自定义操作
工作流中的 GitHub CLI
添加脚本
使用机密
使用变量
传递作业输出
设置作业的默认值
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
管理工作流和部署
管理工作流运行
手动运行工作流程
重新运行工作流和作业
取消工作流
禁用和启用工作流程
跳过工作流运行
删除工作流运行
下载工作流程项目
删除工作流项目
管理缓存
Approve workflow runs
管理部署
部署历史记录
管理环境
审查部署
创建自定义保护规则
配置自定义保护规则
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
Create and publish actions
Manage custom actions
设置退出代码
Release and maintain actions
共享自动化
Reuse workflows
创建工作流模板
与企业共享
GitHub 托管的运行程序
使用 GitHub 托管的运行器
自定义运行器
专用网络
使用 OIDC
使用 WireGuard
管理自承载运行器
Add runners
Run scripts
配置应用程序
Use proxy servers
Apply labels
Use in a workflow
管理访问权限
Monitor and troubleshoot
Remove runners
安全性
安全强化部署
AWS 中的 OpenID Connect
Azure 中的 OpenID Connect
Google Cloud Platform 中的 OpenID Connect
HashiCorp Vault 中的 OpenID Connect
云服务提供商中的 OpenID Connect
OpenID Connect 与可重用的工作流程结合使用
Monitor workflows
Use the visualization graph
View workflow run history
Add a status badge
Use workflow run logs
Enable debug logging
Troubleshoot workflows
Get support
参考
安全使用
工作流程语法
触发工作流的事件
工作流命令
变量参考
机密参考
表达式引用
上下文参考
Deployments and environments
Dependency caching reference
元数据语法
Actions 限制
可重用工作流程参考
OpenID Connect 参考
Dockerfile 支持
GitHub 托管的运行器参考
Larger runners reference
自托管运行程序参考
补充参数和设置
Extending GitHub Actions Importer
Workflow cancellation reference
教程
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
部署运行器规模集
Using ARC in a workflow
Troubleshoot
项目管理
将标签添加到问题
关闭非活动问题
添加标签以评论议题
计划问题创建
容器化服务
Create a Docker container action
创建 PostgreSQL 服务容器
创建 Redis 服务容器
发布包
发布 Docker 映像
使用 Gradle 发布 Java 包
使用 Maven 发布 Java 包
发布 Node.js 包
创建示例工作流程
使用 GITHUB_TOKEN
创建 JavaScript 操作
创建组合操作
Store and share data
Controlling deployments
Docker service containers
GitHub Actions
/
操作方法
/
写入工作流
/
选择工作流运行位置
选择工作流运行位置
可以指定作业和工作流在其中运行的计算环境。
选择作业的运行器
定义将在工作流程中处理作业的计算机类型。
在容器中运行作业
使用容器运行作业中的步骤。