gamercade-io / gamercade_console

A Neo-Retro Fantasy Console. Make WASM-powered, networked multiplayer games.
https://gamercade.io
Apache License 2.0
165 stars 10 forks source link

feat(CI): Improve build time #69

Closed Cardosaum closed 1 year ago

Cardosaum commented 1 year ago

The current CI closes #66, removing the previous two workflow files existent and merging them in a single file. The cache action was implemented, which reduces significantly following build times.

For example, without the cache, build times usually take from 4 to 8 minutes image 1. Now, with the cache implemented, build time drops to 1~2 minutes image 2.

It's important to note that the Deploy step is failing in the images shown above because the configuration was set for the original gamercade repository, not to the fork.

I think that the Deploy should just work after merging into main, but not totally sure.


Also, maybe Publish would be a more appropriate naming convention rather than Deploy? (what do you think @RobDavenport ?)