get-diff-action | GitHub Actions to get git diff | Continous Integration library
kandi X-RAY | get-diff-action Summary
kandi X-RAY | get-diff-action Summary
GitHub actions to get git diff. You can get the differences via env or action output.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of get-diff-action
get-diff-action Key Features
get-diff-action Examples and Code Snippets
Community Discussions
Trending Discussions on get-diff-action
QUESTION
I am trying to execute some option steps if the previous step is failing. I need to download the old artifacts in order to avoid that my Terraform build action is not detecting changes. Therefore I added a diff action to identify if the docker file to build the zip-layer has changed, if there is no change the old artifacts from a previous execution should be downloaded. In some cases the last execution does not contain the artifacts e.g. failure of the jobs. In that case I would like to get the latest version based on the existing docker image. Note: The code is part of a matrix execution but for simplicity I reduced the action to the problem area.
...ANSWER
Answered 2020-Nov-11 at 22:50To execute your step if the previous one was not a failure you can just set failure() without brackets. With the if, no need of brackets.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install get-diff-action
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page