Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prantlf/unshelve-changes-action
GitHub action for restoring modified files from cache, which were stored by shelve-changes-action in another job earlier.
https://github.com/prantlf/unshelve-changes-action
actions cache changes github github-actions release restore
Last synced: 28 days ago
JSON representation
GitHub action for restoring modified files from cache, which were stored by shelve-changes-action in another job earlier.
- Host: GitHub
- URL: https://github.com/prantlf/unshelve-changes-action
- Owner: prantlf
- License: mit
- Created: 2023-10-23T07:54:57.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-07T15:03:03.000Z (8 months ago)
- Last Synced: 2024-05-08T16:04:29.496Z (8 months ago)
- Topics: actions, cache, changes, github, github-actions, release, restore
- Homepage: https://github.com/marketplace/actions/unshelve-changed-files
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Unshelve Changed Files
GitHub action for restoring modified files from cache, which were stored by [shelve-changes-action] in another job earlier.
## Usage
Restore the modified files from cache:
```yml
- uses: prantlf/unshelve-changes-action@v1
```## Inputs
The following parameters can be specified using the `with` object:
### files
Type: `String`
Files to be restored from the cache, separated by spaces. Mandatory.
### branches
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 "*".
### enable
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.
### discard-shelf
Type: `Boolean`
Default: `true`Can be set to `false` to prevent automatic discarding of the shelved files from the cache.
## License
Copyright (C) 2023-2024 Ferdinand Prantl
Licensed under the [MIT License].
[MIT License]: http://en.wikipedia.org/wiki/MIT_License
[shelve-changes-action]: https://github.com/prantlf/shelve-changes-action