[ci-skip] Remove in-development features #24
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 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@v3 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/[email protected] | |
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: Create Paperclip Jar | |
run: ./gradlew createReobfPaperclipJar --stacktrace | |
- name: Upload Paperclip Jar | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Fiddle | |
path: build/libs/fiddle-paperclip-*-reobf.jar |