Эта версия GitHub Enterprise Server была прекращена 2025-06-04. Исправления выпускаться не будут даже при критических проблемах безопасности. Для повышения производительности, повышения безопасности и новых функций выполните обновление до последней версии GitHub Enterprise Server. Чтобы получить справку по обновлению, обратитесь в службу поддержки GitHub Enterprise.
Choosing what your workflow does
Workflows automate tasks in your software development lifecycle. Many tasks that you manually complete can be converted to a GitHub Actions workflow.
Using jobs in a workflow
Use workflows to run multiple jobs.
Using pre-written building blocks in your workflow
Actions are the building blocks that power your workflow. A workflow can contain actions created by the community, or you can create your own actions directly within your application's repository. This guide will show you how to discover, use, and customize actions.
Using GitHub CLI in workflows
You can script with GitHub CLI in GitHub Actions workflows.
Adding scripts to your workflow
You can use GitHub Actions workflows to run scripts.
Controlling permissions for GITHUB_TOKEN
Modify the default permissions granted to GITHUB_TOKEN
.
Store information in variables
GitHub sets default variables for each GitHub Actions workflow run. You can also set custom variables for use in a single workflow or multiple workflows.
Passing information between jobs
You can define outputs to pass information from one job to another.
Setting a default shell and working directory
Define the default settings that will apply to all jobs in the workflow, or all steps in a job.
Using environments for deployment
Specify a deployment environment in your workflow.
Control the concurrency of workflows and jobs
Run a single job at a time.
Running variations of jobs in a workflow
Create a matrix to define variations for each job.
Caching dependencies to speed up workflows
To make your workflows faster and more efficient, you can create and use caches for dependencies and other commonly reused files.
Storing and sharing data from a workflow
Artifacts allow you to share data between jobs in a workflow and store data once that workflow has completed.