我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们

Getting started with GitHub Actions for GitHub Enterprise Server

Learn about enabling and configuring GitHub Actions on GitHub Enterprise Server for the first time.

站点管理员可以启用 GitHub Actions 并配置企业设置。

本文内容

Note: GitHub Actions was available for GitHub Enterprise Server 2.22 as a limited beta. The beta has ended. GitHub Actions is now generally available in GitHub Enterprise Server 3.0 or later. For more information, see the GitHub Enterprise Server 3.0 release notes.


注: GitHub 托管的运行器目前在 GitHub Enterprise Server 上不受支持。 您可以在 GitHub 公共路线图 上查看有关未来支持计划的更多信息。

Review hardware considerations

Note: GitHub Actions was available for GitHub Enterprise Server 2.22 as a limited beta. If you're upgrading an existing GitHub Enterprise Server instance to 3.0 or later and want to configure GitHub Actions, note that the minimum hardware requirements have increased. 更多信息请参阅“升级 GitHub Enterprise Server。”

If you configured the beta of GitHub Actions for the users of your GitHub Enterprise Server instance, we recommend that you provision additional CPU and memory resources. The additional resources you need to provision depend on the number of workflows your users run concurrently, and the overall levels of activity for your instance.

For more information about resource requirements for GitHub Enterprise Server, see the hardware considerations for your instance's platform.

有关为现有实例调整资源的更多信息,请参阅“增加存储容量”和“增加 CPU 或内存资源”。

External storage requirements

要在 GitHub Enterprise Server 上启用 GitHub Actions,您必须有权访问外部 Blob 存储。

GitHub Actions 使用 Blob 存储来存储工作流程运行生成的构件,如工作流程日志和用户上传的构建构件。 所需存储量取决于您使用 GitHub Actions 的情况。 Only a single external storage configuration is supported, and you can't use multiple storage providers at the same time.

GitHub Actions 支持以下存储提供商:

  • Azure Blob 存储
  • Amazon S3
  • S3 兼容的 MinIO Gateway for NAS

Note: These are the only storage providers that GitHub supports and can provide assistance with. Other S3 API-compatible storage providers are unlikely to work due to differences from the S3 API. Contact us to request support for additional storage providers.

Amazon S3 权限

GitHub Actions requires the following permissions for the access key that will access the bucket:

  • s3:PutObject
  • s3:GetObject
  • s3:ListBucketMultipartUploads
  • s3:ListMultipartUploadParts
  • s3:AbortMultipartUpload
  • s3:DeleteObject
  • s3:ListBucket

启用 GitHub Actions

GitHub Actions support on GitHub Enterprise Server 2.22 was available as a limited beta. To configure GitHub Actions for your instance, upgrade to GitHub Enterprise Server 3.0 or later. For more information, see the GitHub Enterprise Server 3.0 release notes and "Upgrading GitHub Enterprise Server."

延伸阅读

此文档对您有帮助吗?

Privacy policy

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或, 了解如何参与。