Tweak build
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Johannes Frohnmeyer 2022-12-03 16:30:16 +01:00
parent dd47e1008e
commit 875901d280
Signed by: Johannes
GPG Key ID: E76429612C2929F4
1 changed files with 4 additions and 4 deletions

View File

@ -7,11 +7,11 @@ pipeline:
commands:
- mkdir artifacts
- if [ $CI_PIPELINE_EVENT = tag ]; then
- gradle --build-cache -Pflavor=curseforge build curseforge moveArtifacts -Prelease -Pmaven="https://maven.frohnmeyer-wds.de/artifacts"
- gradle --build-cache clean build publish modrinth modrinthSyncBody moveArtifacts -Prelease -Pmaven="https://maven.frohnmeyer-wds.de/artifacts"
- gradle --build-cache moveArtifacts curseforge -Pflavour=curseforge -Prelease
- gradle --build-cache moveArtifacts publish modrinth modrinthSyncBody -Prelease -Pmaven="https://maven.frohnmeyer-wds.de/artifacts"
- else
- gradle --build-cache deployDebug moveArtifacts -Pmaven="https://maven.frohnmeyer-wds.de/artifacts"
- gradle --build-cache -Pflavor=curseforge clean build moveArtifacts
- gradle --build-cache moveArtifacts -Pflavour=curseforge
- gradle --build-cache moveArtifacts deployDebug -Pmaven="https://maven.frohnmeyer-wds.de/artifacts"
- fi
secrets: [ maven_token, maven_name, modrinth_api_token, curseforge_api_token ]
artifacts: