action-download-artifact | GitHub Action to download an artifact | Continous Integration library
kandi X-RAY | action-download-artifact Summary
kandi X-RAY | action-download-artifact Summary
:gear: A GitHub Action to download an artifact associated with given workflow and commit or other criteria
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Entry point .
action-download-artifact Key Features
action-download-artifact Examples and Code Snippets
Community Discussions
Trending Discussions on action-download-artifact
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 action-download-artifact
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