Skip to content

Fix server crash and set version 1.20.1-2.1.2 #91

Fix server crash and set version 1.20.1-2.1.2

Fix server crash and set version 1.20.1-2.1.2 #91

Workflow file for this run

name: 'Build Commit'
on:
push:
branches:
- '[0-9]**'
paths-ignore:
- '*.md'
- 'LICENSE'
- '.github/**'
- '.gitignore'
tags-ignore:
- '[0-9]+.[0-9]+.[0-9]+-[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+-[0-9]+.[0-9]+.[0-9]+'
jobs:
build:
runs-on: ubuntu-latest
steps:
- { uses: actions/checkout@v2, with: { fetch-depth: 0 } }
- { name: 'Set up JDK 17', uses: actions/setup-java@v2, with: { distribution: 'adopt', java-version: '17' } }
- uses: burrunan/gradle-cache-action@v1
name: Build with Gradle
id: build
env:
USE_ALPHAS: true
with:
arguments: "setupGithubActions build"
gradle-version: "wrapper"
- { name: 'Create a Release', id: create_release, uses: meeDamian/[email protected], with: { token: '${{ secrets.GITHUB_TOKEN }}', tag: 'alpha-${{ steps.build.outputs.version }}', name: '${{ steps.build.outputs.modid }}-alpha-${{ steps.build.outputs.version }}', draft: false, prerelease: true, commitish: '${{ github.sha }}', files: 'fabric/build/libs/${{ steps.build.outputs.modid }}-${{ steps.build.outputs.version }}-fabric.jar forge/build/libs/${{ steps.build.outputs.modid }}-${{ steps.build.outputs.version }}-forge.jar', gzip: false } }
- { name: 'Push Changelog to Discord', id: changelog-webhook, uses: itsmeow/webhook-action@master, env: { WEBHOOK_URL: '${{ secrets.DISCORD_WEBHOOK_URL }}', data: '${{ steps.build.outputs.commitlog }}' } }