Skip to content

Fix for issue where upload artifacts was broken #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 22, 2024

Conversation

reactive-firewall
Copy link
Owner

@reactive-firewall reactive-firewall commented Dec 22, 2024

Bug Fixes

This PR addresses issue #3 by ensuring that string comparisons are correctly performed, fixing the artifact upload process.

Fixed #3

Cause: A String comparison to boolean is invalid.
Solution: Refactored to perform string comparison to string (of boolean) instead.

Specific Changes

action.yml

  • Added new outputs for qpython-versionq, qartifact-idq, qartifact-urlq, and qartifact-digestq.
  1. Install ShellCheck Scan dependencies step:

    • Modified the if condition to remove the check for inputs.path == 'UNDEFINED'.
  2. Upload artifact step:

    • Added id: artifact-upload-step.
    • Added if-no-files-found: warn and compression-level: 1.
    • Fixed the if condition to check inputs.publish-artifacts == 'true'.

Cause: string comparison to boolean is invalid.
Solution: perform string comparison to string (of boolean) instead.
@reactive-firewall reactive-firewall added the bug Something isn't working label Dec 22, 2024
@reactive-firewall reactive-firewall self-assigned this Dec 22, 2024
@reactive-firewall reactive-firewall linked an issue Dec 22, 2024 that may be closed by this pull request
Cleanup action.yml to apply changes from review.
@reactive-firewall reactive-firewall merged commit c7ac71f into master Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

issue with artifact publishing
1 participant