fix: fix display recipe not showing properly #6
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: Blob Build | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
if: startsWith(github.event.head_commit.message, '[CI skip]') == false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: temurin | |
- name: Validate Gradle wrapper | |
uses: gradle/wrapper-validation-action@v2 | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v3 | |
with: | |
arguments: build shadowJar | |
- name: Rename jar file | |
run: mv build/libs/UltimateGenerators2-*.jar build/libs/UltimateGenerators2.jar | |
- name: Upload to Blob Builds | |
uses: WalshyDev/blob-builds/gh-action@main | |
with: | |
project: UltimateGenerators2 | |
file: ./build/libs/UltimateGenerators2.jar | |
apiToken: ${{ secrets.BLOB_BUILDS_API_TOKEN }} | |
releaseNotes: ${{ github.event.head_commit.message }} |