Add example workflow

This commit is contained in:
2021-09-18 22:58:51 +02:00
committed by GitHub
parent 32ff09e4a6
commit fb00664c04

View File

@ -1,2 +1,26 @@
# fast_submodule_checkout
Updates or clones a submodule much faster by enabling caching
GitHub action to update or clone a submodule much faster by enabling caching
## Example workflow
```yaml
name: Getting the hash of the corelib submodule
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Fast Submodule Checkout libs/corelib
uses: 0xFEEDC0DE64/fast_submodule_checkout@main
with:
submodule: libs/corelib
- name: Use corelib
run: ls -lah libs/corelib
```