EditSign (Forge&Fabric)

EditSign (Forge&Fabric)

820k Downloads

Can I build tag `EditSign-Fabric-1.15.2-2.0.0` without a `CURSEFORGE_API_KEY`?

mk-pmb opened this issue ยท 2 comments

commented

Describe the bug

I was trying to build tag EditSign-Fabric-1.15.2-2.0.0 (actions run), but I don't have (nor want) a CURSEFORGE_API_KEY. Can I build it without one?

Minecraft version

1.15.2 (guessing from tag name)

Fabric API version

no idea

Mod version

2.0.0 (guessing from tag name)

Relevant log output

Fabric Loom: 0.4.33 Build(jenkins #33)
Compiling build file '/home/runner/work/ghabuild-minecraft-mod-editsign/ghabuild-minecraft-mod-editsign/mod-repo/build.gradle' using BuildScriptTransformer.
:setting up loom dependencies
Failure detected. Not running afterEvaluate

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Build file '/home/runner/work/ghabuild-minecraft-mod-editsign/ghabuild-minecraft-mod-editsign/mod-repo/build.gradle' line: 79

* What went wrong:
A problem occurred evaluating root project 'mod-repo'.
> Build properties evaluation failed:
  - Unable to create properties set 'buildProperties.secrets': file:///home/runner/work/ghabuild-minecraft-mod-editsign/ghabuild-minecraft-mod-editsign/mod-repo/secrets.properties does not exist.
  - Unable to find value for key 'CURSEFORGE_API_KEY' in properties set 'buildProperties.secrets'.

* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'mod-repo'.
commented

You may be able to define the property this way (https://github.com/Rakambda/EditSign/blob/minecraft/1.19.4/build.gradle#L123) and it should not complain about it being undefined.

commented

Thank you again for your hints! Unfortunately I have to abandon fixing the old versions for lack of time.