Skip to content

Conversation

@CommandMC
Copy link
Member

@CommandMC CommandMC commented Nov 4, 2023

  • The "install-deps" action is used to have one place to declare (common) dependencies for building
  • The build-base workflow is used for a generic "build Heroic for all platforms and upload the results" step (since we do that multiple times as well)
  • Job strategies were used wherever possible to not repeat (nearly) the same steps for 3 OSs

@flavioislima I'm assuming that we'd need to configure the repo so it no longer requires a "build" check for PRs (the equivalent file is build-prs.yml now), otherwise GH will keep showing this "expected" build task that'll never actually start (since the file no longer exists)
I shuffled the files around a bit since it felt unclear which file was doing what before


Use the following Checklist if you have changed something on the Backend or Frontend:

  • Tested the feature and it's working on a current and clean install.
  • Tested the main App features and they are still working on a current and clean install. (Login, Install, Play, Uninstall, Move games, etc.)
  • Created / Updated Tests (If necessary)
  • Created / Updated documentation (If necessary)

@CommandMC CommandMC added the pr:wip WIP, don't merge. label Nov 4, 2023
@CommandMC CommandMC self-assigned this Nov 4, 2023
- The "install-deps" action is used to have one place to declare
(common) dependencies for building
- The build-base workflow is used for a generic "build Heroic for all
platforms and upload the results" step (since we do that multiple times
as well)
- Job strategies were used wherever possible to not repeat (nearly) the
same steps for 3 OSs
@CommandMC CommandMC force-pushed the tech/deduplicate-workflows branch from 2e91f60 to 3caf42b Compare November 4, 2023 21:37
@CommandMC CommandMC added pr:ready-for-review Feature-complete, ready for the grind! :P and removed pr:wip WIP, don't merge. labels Nov 4, 2023
Copy link
Member

@flavioislima flavioislima left a comment

Choose a reason for hiding this comment

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

Just change the install deps to use npm and we are fine 👍🏽

Copy link
Member

@flavioislima flavioislima left a comment

Choose a reason for hiding this comment

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

Pretty good stuff!

@flavioislima flavioislima merged commit b6bfb5b into main Nov 8, 2023
@flavioislima flavioislima deleted the tech/deduplicate-workflows branch November 8, 2023 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:ready-for-review Feature-complete, ready for the grind! :P

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants