mirror of
https://github.com/actions/gh-drives-preview
synced 2026-09-06 03:46:13 +00:00
No description
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| checkout | ||
| commit | ||
| vendor | ||
| README.md | ||
GitHub Drives (Private Preview)
Persistent storage for GitHub Actions workflows.
⚠️ Private preview. Access is gated. Contact the drives team to enroll your repository.
Usage
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
drives: write # use `read` if you only run checkout (no commit)
steps:
- name: Checkout Drive
uses: actions/gh-drives-preview/checkout@main
with:
drive-name: default
# ... your work ...
- name: Commit Drive
uses: actions/gh-drives-preview/commit@main
with:
drive-name: default
checkout— creates or loads a persistent drive into your workspace.commit— saves changes back to storage. Omit to use read-only.
Requirements
ubuntu-latestrunner (Linux only during preview)- Repository enrolled in the private preview