Skip to content

Commit

Permalink
Run generation in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Griefed committed Nov 10, 2023
1 parent 45c2458 commit 845f883
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@ jobs:
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew

- name: Update block and item implementations
run: ./gradlew clean blockAndItemCodeGen

- name: Build Fabric
run: ./gradlew :Fabric:build

- name: Capture Fabric build artifacts
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
run: chmod +x ./gradlew

- name: Build
run: ./gradlew -Pversion="${{ needs.preparations.outputs.version }}" clean build
run: ./gradlew -Pversion="${{ needs.preparations.outputs.version }}" clean blockAndItemCodeGen build

- name: Publish (CurseForge/Modrinth/GitHub)
uses: Kir-Antipov/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
run: chmod +x ./gradlew

- name: Build
run: ./gradlew -Pversion="${{ needs.preparations.outputs.version }}" clean build
run: ./gradlew -Pversion="${{ needs.preparations.outputs.version }}" clean blockAndItemCodeGen build

- name: Publish (CurseForge/Modrinth/GitHub)
uses: Kir-Antipov/[email protected]
Expand Down

0 comments on commit 845f883

Please sign in to comment.