Skip to content

Conversation

maennchen
Copy link
Member

Follow up to #14627 (comment)

Apparently, GitHub evaluates job conditions before taking the environment into account. This leaves me with 3 options (and a lot more not great ones):

  • Move the condition to each step instead of the job
  • Extract the steps into a shared workflow and call that one conditionally (something like .github/workflows/publish_builds_hex_pm/action.yml)
  • Just make it fail if the variables are not present <= chose this one

@josevalim josevalim merged commit 2e7ee76 into elixir-lang:main Sep 15, 2025
13 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants