Fix methods obfuscated as "new" not creating their tokens #1120
This file contains 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 | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
java: [17-jdk, 20-jdk] | |
runs-on: ubuntu-22.04 | |
container: | |
image: eclipse-temurin:${{ matrix.java }} | |
options: --user root | |
steps: | |
- uses: actions/checkout@v3 | |
- run: ./gradlew checkstyleMain build --stacktrace --warning-mode fail | |
- name: Publish Snapshot | |
if: ${{ matrix.java == '17-jdk' && github.repository_owner == 'QuiltMC' && contains(github.ref_name, 'develop') }} | |
run: ./gradlew publish --stacktrace | |
env: | |
SNAPSHOTS_URL: ${{ secrets.SNAPSHOTS_URL }} | |
SNAPSHOTS_USERNAME: ${{ secrets.SNAPSHOTS_USERNAME }} | |
SNAPSHOTS_PASSWORD: ${{ secrets.SNAPSHOTS_PASSWORD }} |