Skip to content

Commit 6e390e0

Browse files
committed
Fix some bad workflows
1 parent 91d0fc0 commit 6e390e0

File tree

3 files changed

+6
-35
lines changed

3 files changed

+6
-35
lines changed

.github/workflows/_datagen.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,4 @@ jobs:
3636
uses: actions/upload-artifact@v4
3737
with:
3838
name: generated-data
39-
path: src/generated/resources
40-
41-
- name: Store Compiled
42-
if: success()
43-
uses: actions/upload-artifact@v4
44-
with:
45-
name: build
46-
path: build
39+
path: forge-main/src/generated/resources

.github/workflows/_publish.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,10 @@ jobs:
3232
uses: actions/download-artifact@v4
3333
with:
3434
name: generated-data
35-
path: src/generated/resources
36-
37-
- name: Pull Compilation Data (Main)
38-
uses: actions/download-artifact@v4
39-
with:
40-
name: build
41-
path: build
35+
path: forge-main/src/generated/resources
4236

4337
- name: Publish
44-
run: ./gradlew :publishAllPublicationsToGitHubPackagesRepository
38+
run: ./gradlew publishAllPublicationsToGitHubPackagesRepository
4539
env:
4640
VERSION: ${{ inputs.version }}
4741
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}

.github/workflows/_run-gametests.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,14 @@ jobs:
3535
uses: actions/download-artifact@v4
3636
with:
3737
name: generated-data
38-
path: src/generated/resources
39-
40-
- name: Pull Compilation Data (Main)
41-
uses: actions/download-artifact@v4
42-
with:
43-
name: build
44-
path: build
38+
path: forge-main/src/generated/resources
4539

4640
- name: Run Game Tests
47-
run: ./gradlew :runGameTestServer
41+
run: ./gradlew :forge-main:runGameTestServer
4842

4943
- name: Upload build failure
5044
if: failure()
5145
uses: actions/upload-artifact@v4
5246
with:
5347
name: test-data
54-
path: run/gametest
55-
56-
- name: Run JUnit Tests
57-
run: ./gradlew :test
58-
59-
- name: Upload test reports on failure
60-
if: failure()
61-
uses: actions/upload-artifact@v4
62-
with:
63-
name: test-reports
64-
path: build/reports
48+
path: forge-main/run/gametest

0 commit comments

Comments
 (0)