Potentially fix Modrinth token caching

This commit is contained in:
Camotoy 2023-03-30 15:27:00 -04:00
parent ed99655ed9
commit cd80ee893c
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -94,6 +94,7 @@ tasks {
} }
modrinth { modrinth {
token.set(System.getenv("MODRINTH_TOKEN")) // Even though this is the default value, apparently this prevents GitHub Actions caching the token?
projectId.set("wKkoqHrH") projectId.set("wKkoqHrH")
versionNumber.set(project.version as String + "-" + System.getenv("GITHUB_RUN_NUMBER")) versionNumber.set(project.version as String + "-" + System.getenv("GITHUB_RUN_NUMBER"))
versionType.set("beta") versionType.set("beta")