Skip to content

[ci-skip] remove obsolete property #32

[ci-skip] remove obsolete property

[ci-skip] remove obsolete property #32

Workflow file for this run

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@v2
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 17
- 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!