修复了macos arm64版本游玩1.19+可能导致的lwjgl natives匹配错误 #5098
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: Check Codes | |
| on: | |
| push: | |
| paths: | |
| - '**.java' | |
| - '**.properties' | |
| pull_request: | |
| paths: | |
| - '**.java' | |
| - '**.properties' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '17' | |
| java-package: 'jdk+fx' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| with: | |
| cache-cleanup: never | |
| - name: Check Codes | |
| run: ./gradlew checkstyle checkTranslations --no-daemon --parallel --stacktrace |