Multiple fluids bars + better bar customization #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Mod | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Android SDK tools | |
run: echo "$ANDROID_HOME/build-tools/34.0.0" >> $GITHUB_PATH | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Get short commit hash | |
run: echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV | |
- name: Build MultiCrafter | |
run: | | |
chmod +x gradlew | |
./gradlew :main:deploy | |
./gradlew distInjection | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: MultiCrafterMod | |
path: main/build/tmp/deploy/*.jar | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: MultiCrafterLibDist | |
path: build/tmp/distInjection/*.zip |