fix: duplicated fabric-loader version properties #306
This file contains hidden or 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: Mod Build | |
| on: | |
| push: | |
| paths: | |
| - "*.gradle" | |
| - "gradle.properties" | |
| - "src/**" | |
| - "gradle/**" | |
| - ".github/workflows/*" | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| Build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Java JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'adopt' | |
| java-version: 21 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| with: | |
| validate-wrappers: true | |
| allow-snapshot-wrappers: true | |
| - name: Configuration git | |
| run: | | |
| git config core.filemode false | |
| - name: Build with Gradle | |
| run: gradle build | |
| - name: Upload Build Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Build-Artifacts | |
| path: | | |
| LICENSE | |
| fabricWrapper/build/libs/*.jar | |
| fabricWrapper/build/tmp/submods/META-INF/jars/*.jar |