Skip to content

publish-github

publish-github #25

Workflow file for this run

name: publish-github
on:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Build artifacts
run: ./gradlew build
- name: Upload assets to GitHub
uses: AButler/[email protected]
with:
files: "fabric/build/libs/*;neoforge/build/libs/*"
repo-token: ${{ secrets.GH_TOKEN }}