Skip to content

update ModListCreator #2

update ModListCreator

update ModListCreator #2

Workflow file for this run

name: "Create GitHub release"
on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: 'Install OptiPNG'
run: sudo apt-get install -y optipng
- name: 'Optimize Images'
run: |
find . -name "*.png" -exec optipng -o7 {} \;
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- 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: ncipollo/release-action@v1
with:
generateReleaseNotes: true
bodyFile: 'changelog.md'
artifacts: 'build/target/*.zip,build/target/*.mrpack'
token: ${{ secrets.GITHUB_TOKEN }}