Skip to content

Commit

Permalink
Fix GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
skycatminepokie committed Mar 2, 2024
1 parent 64f8ff8 commit ac9e818
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: chmod +x ./gradlew

- name: Datagen
run: ./gradlew runDatagenClient
run: ./gradlew runDatagen

- name: Copy Datagen
run: mkdir -p src/main/generated/data/mystical/ && cp -r src/main/generated/assets/mystical/lang src/main/generated/data/mystical/
Expand Down
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ loom {
sourceSet sourceSets.client
}
}
runs {
gameTest {
inherit server
name "Game Test"
vmArg "-Dfabric-api.gametest"
vmArg "-Dfabric-api.gametest.report-file=${project.buildDir}/junit.xml"
runDir "build/gametest"
}
}

}

Expand Down

0 comments on commit ac9e818

Please sign in to comment.