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

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

anthonyronda
Copy link
Member

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

League-of-Foundry-Developers/foundry-vtt-types#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)

Comment on lines +86 to +88
"minimum": "11",
"verified": "11",
"maximum": "11"
Copy link
Collaborator

Choose a reason for hiding this comment

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

It'd be cool if these could be dynamically set somehow so we can leave our CI file alone when a new Foundry version comes out.

Copy link
Member Author

@anthonyronda anthonyronda Mar 13, 2024

Choose a reason for hiding this comment

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

You make a good point. This will be fixed before I merge this. We're already manipulating fields in the manifest before submitting to the API, so we might as well grab these

@anthonyronda
Copy link
Member Author

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

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.

2 participants