Skip to content

Fix skin rendering

Fix skin rendering #39

Workflow file for this run

name: build
on: [ pull_request, push ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'microsoft'
cache: 'gradle'
- name: build
run: |
# https://github.com/diffplug/spotless/tree/main/plugin-gradle#using-ratchetfrom-on-ci-systems
git fetch origin master
./gradlew build
- name: capture build artifacts
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/libs/
- name: release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: false
body_path: CHANGELOG.md
files: build/libs/*.jar
- name: modrinth
if: startsWith(github.ref, 'refs/tags/')
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
run: ./gradlew modrinth