Skip to content

Commit

Permalink
added GitHub Action and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
andi-makes committed Aug 7, 2022
1 parent 5262fa1 commit de21278
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/mc-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# help I don't know what I'm doing
# copied from https://github.com/SchmarrnDevs/LetsJeb/blob/1.18.2/.github/workflows/mc-publish.yml
name: mc-publish

on:
release:
types: [published]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
publish:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build
run: gradle remapJar
- name: Publish
uses: Kir-Antipov/mc-publish@v3.1
with:
modrinth-id: yjvKidNM
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}

# curseforge-id: XXXXX
# curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}

github-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ loader_version=0.14.8
fabric_version=0.57.0+1.18.2

# Mod Properties
mod_version=1.0.0
mod_version=1.0.1
maven_group=dev.schmarrn
archives_base_name=lighty

0 comments on commit de21278

Please sign in to comment.