Merge pull request #194 from 4drian3d/renovate/com.vanniktech.maven.p… #935
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: ChatRegulator Gradle Build | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| java: [24] | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| - name: Set up JDK ${{ matrix.java }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: 'temurin' | |
| cache: 'gradle' | |
| - name: Build with Gradlev2.4.1 | |
| uses: nick-invision/retry@v3.0.2 | |
| with: | |
| timeout_minutes: 4 | |
| max_attempts: 2 | |
| command: ./gradlew build | |
| - name: Upload Artifacts | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: ChatRegulator | |
| path: plugin/build/libs/ChatRegulator-*.jar |