Skip to content

fix server crash

fix server crash #9

Workflow file for this run

name: "Create Releases"
on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-tags: true
fetch-depth: 0
- name: 'Install OptiPNG'
run: sudo apt-get install -y optipng
- name: 'Optimize Images'
run: |
find . -name "*.png" -exec optipng -o9 {} \;
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Build Modpack
run: 'chmod +x ./gradlew && ./gradlew buildTargets'
- name: Generate changelog
run: 'python scripts/changelogger.py'
- name: Upload Release
uses: Kir-Antipov/[email protected]
with:
modrinth-id: 3HsvIkiC
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
modrinth-changelog-file: modrinth_changelog.md
name: ""
modrinth-files: |
build/target/*.mrpack
github-files: |
build/target/*.mrpack
build/target/*.zip
loaders: forge
game-versions: 1.20.1
version-type: beta
github-token: ${{ secrets.GITHUB_TOKEN }}
github-prerelease: false
github-changelog-file: github_changelog.md
github-generate-changelog: true