Skip to content

Commit

Permalink
Added publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Buuz135 committed Dec 8, 2023
1 parent 8015ad3 commit 06fce3b
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/1-20-bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: 1.20 Bug report
about: Create a report to help us improve
title: "[1.20.1] Issue Title"
labels: 'type: bug, version: 1.20'
assignees: ''

---

**DO NOT REPORT AN ISSUE IF YOU HAVEN'T TESTED THE ISSUE WITH THE LATEST VERSION IN CURSEFORGE**

**Functional Storage Version:**

**Titanium Version:**

**Crashlog If Applicable (Upload to pastebin/gist):**
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Feature request
about: Create a feature request
title: '[FEATURE REQUEST] Feature'
labels: 'type: feature'
assignees: ''

---

**Description:**

44 changes: 44 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Publish action

on:
create:
tag:
- '*'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: checkout repository
uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk 17
uses: actions/setup-java@v1
with:
java-version: "17"
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: build
run: ./gradlew build
- name: Publish Minecraft Mods Forge
uses: Kir-Antipov/[email protected]
with:
curseforge-id: 904394
modrinth-id: R6YQjhwo
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
files-primary: build/libs/!(*-@(dev|sources)).jar
files-secondary: build/libs/*-@(dev|sources).jar
version-type: beta
version: ${{ github.ref_name }}
loaders: forge
game-versions: 1.20.1
java: 17
name: ""
changelog: "https://github.com/InnovativeOnlineIndustries/Industrial-Foregoing-Souls/blob/master/CHANGELOG.md"
dependencies: |
titanium | depends
industrialforegoing | depends
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Version 1.0.0

* Initial Release
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false
minecraftVersion=1.20.1
modVersion=0.0.1
modVersion=1.0.0

0 comments on commit 06fce3b

Please sign in to comment.