vttred / ose

Old-School Essentials – Foundry VTT Edition
https://ose.vtt.red
GNU General Public License v3.0
95 stars 51 forks source link

Ci/add package release api and build from cache #496

Open anthonyronda opened 7 months ago

anthonyronda commented 7 months ago

Adds the ability to use this API in CI

https://foundryvtt.com/article/package-release-api/

and re-enables building from cache in CI after this fix

https://github.com/League-of-Foundry-Developers/foundry-vtt-types/pull/2398

(League's Foundry Types has a husky dependency, and husky wants to run scripts upon install–we don't want it to–and it used to error out our build script because it can't find the working directory from its cached directory)

anthonyronda commented 4 months ago

Using this to preserve environment variables between steps https://docs.github.com/en/actions/learn-github-actions/variables#about-environment-variables