GitHub action for restoring modified files from cache, which were stored by shelve-changes-action in another job earlier.
Restore the modified files from cache:
- uses: prantlf/unshelve-changes-action@v1
The following parameters can be specified using the with
object:
Type: String
Files to be restored from the cache, separated by spaces. Mandatory.
Type: String
Default: 'main master'
Branches which this action should run for, which are used to publishing releases. Use whitespace for separating the branch names. If you want to use multiple lines in YAML, introduce them with ">-". If you want to allow all branches, set the value to "*".
Type: Boolean
Default: true
Can be set to false
to prevent this action from running. It's helpful in the pipeline, which will not continue releasing, but only building and testing, and that will be decided in the middle of a job execution.
Type: Boolean
Default: true
Can be set to false
to prevent automatic discarding of the shelved files from the cache.
Copyright (C) 2023-2024 Ferdinand Prantl
Licensed under the MIT License.