Skip to content

Commit

Permalink
Workflow Update 4
Browse files Browse the repository at this point in the history
  • Loading branch information
robotgryphon committed Oct 27, 2024
1 parent 853a4e5 commit 9e1091c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_datagen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: generated-data
path: neoforge-main/src/generated/resources
path: src/generated/resources
17 changes: 4 additions & 13 deletions .github/workflows/_run-gametests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,10 @@ jobs:
uses: actions/download-artifact@v4
with:
name: generated-data
path: neoforge-main/src/generated/resources

- name: Build Core
run: ./gradlew :core-api:jar

- name: Upload built core
uses: actions/upload-artifact@v4
with:
name: built-core-api
path: core-api/build/libs
path: src/generated/resources

- name: Run Game Tests
run: ./gradlew :neoforge-main:runGameTestServer
run: ./gradlew :runGameTestServer

- name: Upload build failure
if: failure()
Expand All @@ -57,11 +48,11 @@ jobs:
path: run/gametest

- name: Run JUnit Tests
run: ./gradlew :neoforge-main:test
run: ./gradlew :test

- name: Upload test reports on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-reports
path: neoforge-main/build/reports
path: build/reports

0 comments on commit 9e1091c

Please sign in to comment.