chore: update all samples to CloudNet v4 RC14 #18
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: Build latest version | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build-maven: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up JDK 23 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '23' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Build with Maven | |
| run: mvn -B package --file maven/pom.xml | |
| build-gradle: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup up JDK 23 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '23' | |
| distribution: 'temurin' | |
| cache: gradle | |
| - name: Build with Gradle | |
| run: gradle -p ./gradle jar shadowJar |