增加滑条gui,调整gui贴图细节,增加创造发电机贴图模型 #110
Workflow file for this run
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: Pull Request Check | |
on: | |
pull_request: | |
paths: | |
- common/** | |
- fabric/** | |
- forge/** | |
- build.gradle | |
- gradle.properties | |
- settings.gradle | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
CI_BUILD: true | |
steps: | |
- name: checkout | |
uses: actions/[email protected] | |
- name: validate gradle wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Setup Java 17 | |
uses: actions/[email protected] | |
with: | |
distribution: zulu | |
java-version: 17 | |
- name: make gradle wrapper executable | |
if: ${{ runner.os != 'Windows' }} | |
run: chmod +x ./gradlew | |
- name: Build | |
uses: gradle/[email protected] | |
with: | |
arguments: build | |
- name: Get Version | |
id: version | |
run: | | |
MESSAGE=$(ls forge/build/libs/* | grep sources.jar -v | grep shadow.jar -v | grep slim.jar -v | awk -F 'anvilcraft-forge-|.jar' '{print $2}') | |
echo "version=$MESSAGE" >> $GITHUB_OUTPUT | |
- name: capture build artifacts | |
uses: actions/[email protected] | |
with: | |
name: AnvilCraftMod ${{ steps.version.outputs.version }} | |
path: | | |
fabric/build/libs/anvilcraft-fabric-${{ steps.version.outputs.version }}.jar | |
forge/build/libs/anvilcraft-forge-${{ steps.version.outputs.version }}.jar |