Mark internal Material classes as internal #28
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
# Here lie wyverns! | |
# | |
# This action builds a paperclip jar | |
# if unit tests pass. | |
name: Build Fiddle | |
on: [ push ] | |
jobs: | |
build: | |
# Only run if the last commit does not start with [ci-skip] | |
if: ${{ !contains(github.event.commits[0].message, '[ci-skip]') }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [17] | |
fail-fast: true | |
steps: | |
- name: Checkout Git repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'temurin' | |
- name: Validate Gradle wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Apply Patches | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Github Actions" | |
./gradlew applyPatches --stacktrace | |
- name: Build | |
run: ./gradlew build --stacktrace | |
- name: Upload Test Results | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Test Results (${{ matrix.java }}) | |
path: | | |
**/build/test-results/test/TEST-*.xml | |
- name: Create Paperclip Jar | |
run: ./gradlew createReobfPaperclipJar --stacktrace | |
- name: Upload Paperclip Jar | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Fiddle | |
path: build/libs/fiddle-paperclip-*-reobf.jar |