RaythaHQ / raytha

Raytha is a powerful CMS with an easy-to-use interface and fast performance. It offers custom content types, a template engine, and various access controls. It supports multiple storage providers and an automatically generated REST API. Upgrade your development workflow with Raytha.
MIT License
143 stars 30 forks source link

`Condition` in build section of csproj breaks Release build #159

Closed apexdodge closed 7 months ago

apexdodge commented 7 months ago

The Raytha.Web.csproj file has a Condition on this javascript build:

https://github.com/RaythaHQ/raytha/blob/5e8af6111fa4c385573c024710fb2bcb98772b35/src/Raytha.Web/Raytha.Web.csproj#L87

However, running this Github Actions, the built docker image fails to have javascript compiled. This wasn't caught because we normally build and run docker containers on our local machine where we've already had the compiled js. However, in github actions, it's a fresh environment.

Need to think about this, or at the very least, remove it for now and revisit so it is always built.