Skip to content
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

ci: Fix auto publishing to Docker & Electron #488

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

BYK
Copy link
Member

@BYK BYK commented Aug 12, 2024

As seen from #484, we don't automatically publish to Docker and Electron targets. The reason for this is we have an strict inputs.docker and inputs.electron check, assuming they will have a default value of true. That said the input context only gets populated on a manually triggered workflow, hence these jobs get skipped on auto publish actions. This PR should fix the issue by replacing it with an explicit != false check, so it becomes true if the value is null or undefined.

As seen from #484, we don't automatically publish to Docker and Electron targets. The reason for this is we have an strict `inputs.docker` and `inputs.electron` check, assuming they will have a default value of `true`. That said the `input` context only gets populated on a manually triggered workflow, hence these jobs get skipped on auto publish actions. This PR should fix the issue by replacing it with an explicit `!= false` check, so it becomes `true` if the value is `null` or `undefined`.
Copy link

vercel bot commented Aug 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spotlightjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 12, 2024 0:34am

@BYK BYK merged commit ae3badc into main Aug 12, 2024
13 checks passed
@BYK BYK deleted the byk/ci/fix-auto-docker-electron-publish branch August 12, 2024 12:39
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.

1 participant