Skip to content

Commit

Permalink
build: test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bconlon1 committed Sep 7, 2023
1 parent d36a1d9 commit d92d16c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/publish-curseforge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,5 @@ jobs:
run: |
if [ "${{ github.event.sender.login }}" = "OscarPayn" ] || [ "${{ github.event.sender.login }}" = "bconlon1" ]; then
chmod +x ./gradlew
./gradlew build
cd ~/work/The-Aether/The-Aether/build/libs
find . ! -name "aether-1.19.4-1.0.0-beta.6-forge.jar" -type f -exec rm -f {} +
cd ~/work/The-Aether/The-Aether
./gradlew curseforge
fi
9 changes: 0 additions & 9 deletions .github/workflows/publish-modrinth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,6 @@ jobs:
run: |
if [ "${{ github.event.sender.login }}" = "OscarPayn" ] || [ "${{ github.event.sender.login }}" = "bconlon1" ]; then
chmod +x ./gradlew
./gradlew build
cd ~/work/The-Aether/The-Aether/build/libs
echo *
find . ! -name "aether-1.19.4-1.0.0-beta.6-forge.jar" -type f -exec rm -f {} +
echo *
cd ~/work/The-Aether/The-Aether
./gradlew modrinth
cd ~/work/The-Aether/The-Aether/build/libs
echo *
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ curseforge {
changelog = file("$rootDir/docs/CHANGELOG.md")
changelogType = "markdown"
addGameVersion("${project.mc_version}")
mainArtifact(tasks.jar) {
mainArtifact(tasks.jarJar) {
displayName = "${project.mod_name} - ${version}"
relations {
embeddedLibrary "curios"
Expand All @@ -216,7 +216,7 @@ modrinth {
versionType = "${project.version_type}"
versionName = "${project.mod_name} - ${version}"
changelog = new File("$rootDir/docs/CHANGELOG.md").text
uploadFile = tasks.jar
uploadFile = tasks.jarJar
gameVersions = ["${project.mc_version}"]
loaders = ["forge"]
dependencies {
Expand Down

0 comments on commit d92d16c

Please sign in to comment.