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

Update GitHub actions to latest #73

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

SquidDev
Copy link

Not tested, but should work. I don't believe the breaking changes in upload-artifact affect Minotaur.

@SquidDev
Copy link
Author

So the problem here is that project "fred-3" doesn't exist. The only projects I can see on the staging instance are fabric-api, fabric-modpack, forge-modpack and weird-wares, so I don't know if you've changed the test data at some point?

@Prospector
Copy link
Member

Yeah, staging gets wiped from time to time. Weird that it depends on a specific project... seems like it should not be the case

@SquidDev
Copy link
Author

Yeah, it is just for logging. I could move that down the function after the debugMode/dry-run check?

String id = Objects.requireNonNull(api.projects().getProjectIdBySlug(ext.getProjectId().get()).join());
getLogger().debug("Uploading version to project {}", id);

By using System.getenv on a static final field, the environment variable
is never updated. This means you have to kill the Gradle daemon if you
forgot the token the first time!
They were using the remote one, which makes it impossible to test changes!
This either continues onwards when in debug mode, or throws a
descriptive exception (rather than an NPE).
@SquidDev
Copy link
Author

"This'll be a simple two line change" he said. Nothing's simple in Minecraft modding :D:.

There's a remaining issue with versioned dependencies also not existing on staging.

I'm assuming there's no test data your staging env is provisioned with every time? In that case, it might just be easier to point the plugin at prod?

@Prospector
Copy link
Member

Yeah, should probably just point at prod. Can use this project, we use it for testing elsewhere lol https://modrinth.com/mod/mudmod

Also improve error message in the event the dependency cannot be
resolved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants