megachangelog
Feature

Actions steps can now be run in parallel

GitHub Actions now supports running workflow steps concurrently using the background feature, enabling faster job execution instead of strictly sequential step execution.

GitHub Actions now supports running steps concurrently using background.

Previously, all steps in a workflow ran in sequence, with each step starting only after the previous step completed. Previously, you could run steps in a non-blocking way using shell backgrounding (&), but that often interleaved logs from multiple steps. This new capability enables steps to run in parallel while retaining separate logs and execution.

Four new keywords are being introduced:

  • background: true runs a step asynchronously and immediately continues to the next step.
  • wait/wait-all pauses execution until one or more named background steps complete. wait can target one or more specific background steps, while wait-all pauses until all prior background steps have completed.
  • cancel gracefully terminates a background step when you no longer need it, enabling you to start long-running services with a background step.
  • parallel takes a group of steps and converts them to background steps with a wait after, enabling you to easily run multiple steps in parallel. This is syntactic sugar for the “run these steps concurrently, then continue” pattern.

This update helps you handle common patterns in a single job:

  • Running independent work in true parallel, such as multiple builds at once
  • Starting a background service, running dependent work, then stopping that service cleanly
  • Kicking off non-blocking work that can continue while later steps run, like uploading telemetry while packaging continues

Read the GitHub Actions workflow syntax documentation for current syntax and usage details.

The post Actions steps can now be run in parallel appeared first on The GitHub Blog.

actionsworkflowsperformanceconcurrency

Source: original entry ↗

More from GitHub

Follow GitHub to get its new changes in your feed and email digest.

Announcement

Claude Haiku 5.5 now available in GitHub Copilot

Claude Haiku 5.5, Anthropic's lightweight model, is now generally available in GitHub Copilot for fast, high-volume tasks like subagents, quick edits, and terminal operations.

copilotaimodelsannouncement
Feature

Purpose-built model for leaked secret detection

GitHub introduced a new purpose-built model for detecting leaked secrets that provides context-aware detection to keep pace with modern software development practices, including AI-assisted coding.

securitysecret-detectionaiprotection
Announcement

Local sandboxing for GitHub Copilot now generally available

GitHub Copilot's local sandboxing feature is now generally available across GitHub Copilot CLI, the GitHub Copilot app, and VS Code sessions using Agent Host, providing developers with a secure environment for testing and development.

copilotaisecuritysandboxvscode
See all GitHub changes →