Skip to content

Commit

Permalink
Call sub:build
Browse files Browse the repository at this point in the history
  • Loading branch information
Griefed committed Nov 11, 2023
1 parent c4cff23 commit 349be03
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,24 @@ jobs:
- name: Update block and item implementations
run: ./gradlew clean blockAndItemCodeGen

- name: Build
run: ./gradlew build

- name: Capture Common build artifacts
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: Common/build/libs/

- name: Build Fabric
run: ./gradlew :Fabric:build
- name: Capture Fabric build artifacts
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: Fabric/build/libs/

- name: Build Forge
run: ./gradlew :Forge:build
- name: Capture Forge build artifacts
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: Forge/build/libs/

- name: Capture Common build artifacts
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: Common/build/libs/
4 changes: 3 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ Build Test:
- chmod +x gradlew
script:
- echo "**** Building ****"
- "./gradlew clean build --info --full-stacktrace"
- "./gradlew clean blockAndItemCodeGen --info --full-stacktrace"
- "./gradlew :Fabric:build --info --full-stacktrace"
- "./gradlew :Forge:build --info --full-stacktrace"
retry: 1
rules:
- if: '$CI_SERVER_HOST == "git.griefed.de"'
Expand Down

0 comments on commit 349be03

Please sign in to comment.