Added missing entities (#37) #35
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: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.commits[0].message, '[ci-skip]')" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gradle/actions/wrapper-validation@v3 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 21 | |
- name: Import gradle properties | |
shell: bash | |
run: cat gradle.properties >> $GITHUB_ENV | |
- name: Build | |
run: ./gradlew build --stacktrace | |
- name: Publish | |
run: ./gradlew modrinth --stacktrace | |
env: | |
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} | |
COMMIT_MESSAGE: ${{ join(github.event.commits.*.message, '<br>') }} | |
- uses: sarisia/actions-status-discord@v1 | |
if: success() | |
with: | |
webhook: ${{ secrets.DISCORD_WEBHOOK }} | |
nodetail: true | |
title: New build of PurpurClient is ready! | |
description: | | |
Version ${{ env.minecraft_version }} build ${{ github.run_number }} | |
Click [here](https://modrinth.com/mod/purpurclient) to download! |