Skip to content

Conversation

@btkostner
Copy link
Contributor

This allows you skipping the whole post step of trying to save the layers. The use case here being I'm caching the build from a previous step and running tests. I don't need to save the layers again.

Use case repo: https://github.com/btkostner/neon/runs/974278660?check_suite_focus=true

Copy link
Owner

@satackey satackey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

test_restoreing fails and test_saving shows Skipping save.
Since core.getInput always returns a string, '' != null seems to be true even if there is no input (an empty string isn't null).

I think it would be a good idea to set the default value to true in action.yml and parse it to boolean with JSON.parse.

btkostner and others added 2 commits August 14, 2020 11:07
Co-authored-by: satackey <me+github.com@satackey.com>
Co-authored-by: satackey <me+github.com@satackey.com>
@btkostner
Copy link
Contributor Author

@satackey ahh, whoops. Thank you for the suggestion!

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@satackey satackey merged commit df1a729 into satackey:master Aug 15, 2020
@satackey
Copy link
Owner

@btkostner I've released v0.0.6 for this.

@btkostner
Copy link
Contributor Author

Awesome! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants