Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
Add release action
  • Loading branch information
PotatoPresident committed Nov 14, 2022
1 parent 939127c commit 6c8772c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: release

on:
release:
types:
- published

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17

- name: Make gradlew executable
run: chmod +x ./gradlew

- name: Build artifacts
run: ./gradlew clean build

- name: Upload assets to GitHub, Modrinth and CurseForge
uses: Kir-Antipov/mc-publish@v3.2
with:
modrinth-id: IEPAK5x6
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}

curseforge-id: 462534
curseforge-token: ${{ secrets.CF_API_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 @@ -6,7 +6,7 @@ minecraft_version=1.19.2
yarn_mappings=1.19.2+build.28
loader_version=0.14.10
# Mod Properties
mod_version=1.1.5
mod_version=1.1.6
maven_group=us.potatoboy
archives_base_name=htm
# Dependencies
Expand Down

0 comments on commit 6c8772c

Please sign in to comment.