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

Fix "Windows workflow broken since recent commit" #246

Merged
merged 3 commits into from Jan 28, 2024

Conversation

paulo-ferraz-oliveira
Copy link
Collaborator

@paulo-ferraz-oliveira paulo-ferraz-oliveira commented Jan 28, 2024

Description

Closes #245. Check that for more information.

CI now proves the implementation of the environment variables is Ok, as was expected.

As per the README, and now tested, they should be found in
INSTALL_DIR_FOR_... followed by their name
These were previously used and pushed as generated
but since npm run build-dist doesn't rebuild the
whole dist folder, these just "stayed there"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Instead of "not failing it they're not there" (this was a best effort, after all), we now fail if the variables are incorrectly populated. This is Ubuntu!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Instead of "not failing it they're not there" (this was a best effort, after all), we now fail if the variables are incorrectly populated. This is Windows.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

All the removed dist files are no longer required. They're remains from when the action did stuff using shell scripts, which it no longer does. The npm stuff's now been fixed so dist is always recreated.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changes here:

  1. fix broken variable path to include bin
  2. fix Windows/rebar3 location to have code similar to Ubuntu, on Windows (also inside bin

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

All the removed dist files are no longer required. They're remains from when the action did stuff using shell scripts, which it no longer does. The npm stuff's now been fixed so dist is always recreated.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

All the removed dist files are no longer required. They're remains from when the action did stuff using shell scripts, which it no longer does. The npm stuff's now been fixed so dist is always recreated.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

All the removed dist files are no longer required. They're remains from when the action did stuff using shell scripts, which it no longer does. The npm stuff's now been fixed so dist is always recreated.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

All the removed dist files are no longer required. They're remains from when the action did stuff using shell scripts, which it no longer does. The npm stuff's now been fixed so dist is always recreated.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Check comments in the dist/.js file.

@starbelly starbelly merged commit cf854bf into main Jan 28, 2024
60 checks passed
@starbelly starbelly deleted the fix/bin-folder-var-refs branch January 28, 2024 18:52
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.

Windows workflow broken since recent commit
2 participants