git-checkout
melangeReference
On this page
Check out sources from git
Dependencies
- git
Reference
Input | Description |
---|---|
repository * |
The repository to check out sources from. |
destination |
The path to check out the sources to. Default is set to . |
depth |
The depth to use when cloning. Default is set to 50 |
branch |
The branch to check out, otherwise HEAD is checked out. |
Example
- uses: git-checkout
with:
repository: https://github.com/envoyproxy/envoy
branch: v${{package.version}}
destination: envoy