GitHub Actions のガイド
GitHub Actions のこれらのガイドには、ワークフローの設定に役立つ特定の使用例とサンプルが含まれています。
GitHub Actions ラーニング パス
GitHub Actions を使ってみる
最初のワークフローを作成して、GitHub Actions の可能性を発見してください。
ラーニング パスの開始- 概要GitHub Actions を理解する
- ハウツー ガイドアクションの検索とカスタマイズ
- 概要ワークフローについて
- ハウツー ガイドワークフローの再利用
- 概要GitHub Actions のセキュリティ強化
自分のランナーをホストする
セルフホストランナーを作成し、非常にカスタマイズ性の高い環境でワークフローを実行できます。
ラーニング パスの開始- 概要セルフホステッド ランナーの概要
- チュートリアル自己ホストランナーの追加
- チュートリアルセルフホストランナーアプリケーションをサービスとして設定する
- チュートリアルセルフホストランナーとプロキシ サーバーを使う
- チュートリアルセルフホストランナーとのラベルの利用
- チュートリアルワークフローでのセルフホストランナーの利用
- チュートリアルグループを使用してセルフホストランナーへのアクセスを管理する
- チュートリアルセルフホストランナーのモニタリングとトラブルシューティング
アクションを作成する
新しいアクションのアイデアはありますか? 自分のプロジェクトに何かをカスタムに作成したことはありますか? 共有できるアクションをビルドして、GitHub Marketplace に公開する方法について説明します。
ラーニング パスの開始- 概要カスタム アクションについて
- チュートリアルDocker コンテナーのアクションを作成する
- チュートリアルJavaScript アクションを作成する
- チュートリアル複合アクションを作成する
- リファレンスGitHub Actions のメタデータ構文
- リファレンスGitHub ActionsのためのDockerfileサポート
- ハウツー ガイドアクションの終了コードの設定
- ハウツー ガイドGitHub Marketplaceでのアクションの公開
GitHub Actions のクイックスタート
クイック スタートGitHub Actions の機能を 5 分またはそれ以下で試すことができます。
- Fundamentals
GitHub Actions を理解する
概要コア概念や重要な用語など、GitHub Actions の基本について説明します。
- Fundamentals
Docker コンテナーのアクションを作成する
チュートリアルこのガイドでは、Docker コンテナのアクションを作成するために最低限必要なステップを案内します。
- Action development
- Docker
スターター ワークフローの使用
チュートリアルGitHub には、さまざまな言語とツールのスターター ワークフローが用意されています。
- Workflows
- CI
- CD
Building and testing Python
チュートリアルYou can create a continuous integration (CI) workflow to build and test your Python project.
- CI
- Python
Building and testing Node.js
チュートリアルYou can create a continuous integration (CI) workflow to build and test your Node.js project.
- CI
- Node
- JavaScript
About packaging with GitHub Actions
概要You can set up workflows in GitHub Actions to produce packages and upload them to GitHub Packages or another package hosting provider.
- Packaging
Publishing Docker images
チュートリアルYou can publish Docker images to a registry, such as Docker Hub or GitHub Packages, as part of your continuous integration (CI) workflow.
- Packaging
- Publishing
- Docker
依存関係をキャッシュしてワークフローのスピードを上げる
チュートリアルワークフローを高速化して効率を上げるために、依存関係や広く再利用されるファイルに対するキャッシュを作成して利用できます。
- Workflows
継続的インテグレーションについて
概要GitHub Actions で、GitHub リポジトリにカスタム継続的インテグレーション (CI) ワークフローを直接作成できます。
- CI
Building and testing PowerShell
チュートリアルYou can create a continuous integration (CI) workflow to build and test your PowerShell project.
- CI
- PowerShell
Building and testing Ruby
チュートリアルYou can create a continuous integration (CI) workflow to build and test your Ruby project.
- CI
- Ruby
Building and testing Java with Maven
チュートリアルYou can create a continuous integration (CI) workflow in GitHub Actions to build and test your Java project with Maven.
- CI
- Java
- Maven
Building and testing Java with Gradle
チュートリアルYou can create a continuous integration (CI) workflow in GitHub Actions to build and test your Java project with Gradle.
- CI
- Java
- Gradle
Building and testing Java with Ant
チュートリアルYou can create a continuous integration (CI) workflow in GitHub Actions to build and test your Java project with Ant.
- CI
- Java
- Ant
Building and testing Swift
チュートリアルYou can create a continuous integration (CI) workflow to build and test your Swift project.
- CI
- Swift
Installing an Apple certificate on macOS runners for Xcode development
チュートリアルYou can sign Xcode apps within your continuous integration (CI) workflow by installing an Apple code signing certificate on GitHub Actions runners.
- CI
- Xcode
Building and testing Xamarin applications
チュートリアルYou can create a continuous integration (CI) workflow in GitHub Actions to build and test your Xamarin application.
- CI
- Xamarin
- Xamarin.iOS
- Xamarin.Android
- Android
- iOS
Publishing Node.js packages
チュートリアルYou can publish Node.js packages to a registry as part of your continuous integration (CI) workflow.
- Packaging
- Publishing
- Node
- JavaScript
Publishing Java packages with Maven
チュートリアルYou can use Maven to publish Java packages to a registry as part of your continuous integration (CI) workflow.
- Packaging
- Publishing
- Java
- Maven
Publishing Java packages with Gradle
チュートリアルYou can use Gradle to publish Java packages to a registry as part of your continuous integration (CI) workflow.
- Packaging
- Publishing
- Java
- Gradle
ワークフロー データを成果物として保存する
チュートリアル成果物を使うと、ワークフロー内のジョブ間でデータを共有し、ワークフローが完了したときに、そのワークフローのデータを保存できます。
- Workflows
About service containers
概要You can use service containers to connect databases, web services, memory caches, and other tools to your workflow.
- Containers
- Docker
Creating Redis service containers
チュートリアルYou can use service containers to create a Redis client in your workflow. This guide shows examples of creating a Redis service for jobs that run in containers or directly on the runner machine.
- Containers
- Docker
Creating PostgreSQL service containers
チュートリアルYou can create a PostgreSQL service container to use in your workflow. This guide shows examples of creating a PostgreSQL service for jobs that run in containers or directly on the runner machine.
- Containers
- Docker
Deploying to Amazon Elastic Container Service
チュートリアルYou can deploy to Amazon Elastic Container Service (ECS) as part of your continuous deployment (CD) workflows.
- CD
- Containers
- Amazon ECS
Deploying to Google Kubernetes Engine
チュートリアルYou can deploy to Google Kubernetes Engine as part of your continuous deployment (CD) workflows.
- CD
- Containers
- Google Kubernetes Engine
カスタム アクションについて
概要アクションとは、ジョブを作成し、ワークフローをカスタマイズするために組み合わせることができる個々のタスクです。 独自のアクションの作成、または GitHub コミュニティによって共有されるアクションの使用やカスタマイズができます。
- Action development
- Fundamentals
JavaScript アクションを作成する
チュートリアルこのガイドでは、アクションツールキットを使って JavaScript アクションをビルドする方法について学びます。
- Action development
- JavaScript
複合アクションを作成する
チュートリアルこのガイドでは、複合アクションを構築する方法について学びます。
- Action development
Azure PipelinesからGitHub Actionsへの移行
チュートリアルGitHub ActionsとAzure Pipelinesは、いくつかの点で設定が似ており、そのためGitHub Actionsへの移行は比較的単純です。
- Azure Pipelines
- Migration
- CI
- CD
CircleCIからGitHub Actionsへの移行
チュートリアルGitHub ActionsとCircleCIには設定に相似点があるので、GitHub Actionsへの移行は比較的単純明快です。
- CircleCI
- Migration
- CI
- CD
GitLab CI/CD から GitHub Actions への移行
チュートリアルGitHub Actions と GitLab CI/CDはいくつかの点で設定が似ているため、GitHub Actions への移行は比較的簡単です。
- GitLab
- Migration
- CI
- CD
JenkinsからGitHub Actionsへの移行
チュートリアルGitHub ActionsとJenkinsには複数の相似点があり、そのためGitHub Actionsへの移行は比較的単純です。
- Jenkins
- Migration
- CI
- CD
Travis CI から GitHub Actions への移行
チュートリアルGitHub Actions と Travis CI は複数の類似点を共有しているため、GitHub Actions への移行は比較的簡単です。
- Travis CI
- Migration
- CI
- CD
Using GitHub Actions for project management
概要You can use GitHub Actions to automate many of your project management tasks.
- Project management
Closing inactive issues
チュートリアルYou can use GitHub Actions to comment on or close issues that have been inactive for a certain period of time.
- Workflows
- Project management
Scheduling issue creation
チュートリアルYou can use GitHub Actions to create an issue on a regular basis for things like daily meetings or quarterly reviews.
- Workflows
- Project management
Adding labels to issues
チュートリアルYou can use GitHub Actions to automatically label issues.
- Workflows
- Project management
Commenting on an issue when a label is added
チュートリアルYou can use GitHub Actions to automatically comment on issues when a specific label is applied.
- Workflows
- Project management
Moving assigned issues on Projects (Classic)
チュートリアルYou can use GitHub Actions to automatically move an issue to a specific column on a Project (Classic) when the issue is assigned.
- Workflows
- Project management
Removing a label when a card is added to a Project (Classic) column
チュートリアルYou can use GitHub Actions to automatically remove a label when an issue or pull request is added to a specific column on a Project (Classic).
- Workflows
- Project management
GitHub ActionsでのDependabotの自動化
ハウツー ガイドGitHub Actionsを使って一般的なDependabot関連のタスクを自動化する例。
- Actions
- Dependabot
- Version updates
- Security updates
- Repositories
- Dependencies
- Pull requests
Dependabot でアクションを最新に保つ
ハウツー ガイドDependabot を使用して、使用するアクションを最新バージョンに更新しておくことができます。
- Repositories
- Dependabot
- Version updates
- Actions
Deploying Docker to Azure App Service
チュートリアルYou can deploy a Docker container to Azure App Service as part of your continuous deployment (CD) workflows.
- CD
- Containers
- Docker
- Azure App Service
Deploying Java to Azure App Service
チュートリアルYou can deploy your Java project to Azure App Service as part of your continuous deployment (CD) workflows.
- CD
- Java
- Azure App Service
Deploying .NET to Azure App Service
チュートリアルYou can deploy your .NET project to Azure App Service as part of your continuous deployment (CD) workflows.
- CD
- Azure App Service
Deploying Node.js to Azure App Service
チュートリアルYou can deploy your Node.js project to Azure App Service as part of your continuous deployment (CD) workflows.
- CD
- Node
- JavaScript
- Azure App Service
Deploying PHP to Azure App Service
チュートリアルYou can deploy your PHP project to Azure App Service as part of your continuous deployment (CD) workflows.
- CD
- Azure App Service
Deploying Python to Azure App Service
チュートリアルYou can deploy your Python project to Azure App Service as part of your continuous deployment (CD) workflows.
- CD
- Python
- Azure App Service
Deploying to Azure Static Web App
チュートリアルYou can deploy your web app to Azure Static Web App as part of your continuous deployment (CD) workflows.
- CD
- Azure Static Web Apps
Deploying to Azure Kubernetes Service
チュートリアルYou can deploy your project to Azure Kubernetes Service (AKS) as part of your continuous deployment (CD) workflows.
- CD
- Azure Kubernetes Service