File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 4848 cache : # optional
4949 # Used to specify the path to a dependency file: packages.lock.json. Supports wildcards or a list of file names for caching multiple dependencies.
5050 cache-dependency-path : # optional
51+ name : learn-github-actions
52+ run-name : ${{ github.actor }} is learning GitHub Actions
53+ on : [push]
54+ jobs :
55+ check-bats-version :
56+ runs-on : ubuntu-latest
57+ steps :
58+ - uses : actions/checkout@v4
59+ - uses : actions/setup-node@v3
60+ with :
61+ node-version : ' 14'
62+ - run : npm install -g bats
63+ - run : bats -v
64+ - name : Cache
65+ uses : actions/cache@v3.3.2
66+ with :
67+ # A list of files, directories, and wildcard patterns to cache and restore
68+ path :
69+ # An explicit key for restoring and saving the cache
70+ key :
71+ # An ordered list of keys to use for restoring stale cache if no cache hit occurred for key. Note `cache-hit` returns false in this case.
72+ restore-keys : # optional
73+ # The chunk size used to split up large files during upload, in bytes
74+ upload-chunk-size : # optional
75+ # An optional boolean when enabled, allows windows runners to save or restore caches that can be restored or saved respectively on other platforms
76+ enableCrossOsArchive : # optional, default is false
77+ # Fail the workflow if cache entry is not found
78+ fail-on-cache-miss : # optional, default is false
79+ # Check if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cache
80+ lookup-only : # optional, default is false
You can’t perform that action at this time.
0 commit comments