Skip to content

Commit

Permalink
Fix some bad workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
robotgryphon committed Dec 16, 2024
1 parent 91d0fc0 commit 6e390e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 35 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/_datagen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: generated-data
path: src/generated/resources

- name: Store Compiled
if: success()
uses: actions/upload-artifact@v4
with:
name: build
path: build
path: forge-main/src/generated/resources
10 changes: 2 additions & 8 deletions .github/workflows/_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,10 @@ jobs:
uses: actions/download-artifact@v4
with:
name: generated-data
path: src/generated/resources

- name: Pull Compilation Data (Main)
uses: actions/download-artifact@v4
with:
name: build
path: build
path: forge-main/src/generated/resources

- name: Publish
run: ./gradlew :publishAllPublicationsToGitHubPackagesRepository
run: ./gradlew publishAllPublicationsToGitHubPackagesRepository
env:
VERSION: ${{ inputs.version }}
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
Expand Down
22 changes: 3 additions & 19 deletions .github/workflows/_run-gametests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,30 +35,14 @@ jobs:
uses: actions/download-artifact@v4
with:
name: generated-data
path: src/generated/resources

- name: Pull Compilation Data (Main)
uses: actions/download-artifact@v4
with:
name: build
path: build
path: forge-main/src/generated/resources

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

- name: Upload build failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-data
path: run/gametest

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

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

0 comments on commit 6e390e0

Please sign in to comment.