chore(deps): update actions/upload-artifact action to v7 (#123) #393
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@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 21 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| with: | |
| validate-wrappers: true | |
| allow-snapshot-wrappers: true | |
| - name: Configure Git | |
| run: | | |
| git config core.filemode false | |
| - name: Build with Gradle | |
| run: gradle build | |
| - name: Upload Build Artifact | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: Build-Artifacts | |
| path: | | |
| LICENSE | |
| fabricWrapper/build/libs/*.jar | |
| fabricWrapper/build/tmp/submods/META-INF/jars/*.jar |