generated from ParadigmMC/mc-modpack-kit
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from Fauli1221/main
chore: update effectively everything
- Loading branch information
Showing
129 changed files
with
1,252 additions
and
770 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
use flake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,13 +14,13 @@ inputs: | |
description: "Should the Modpack Be Uploaded to CurseForge" | ||
required: true | ||
|
||
MODRINTH_KEY: | ||
MODRINTH_TOKEN: | ||
required: false | ||
description: "Token used to uploading modpack to Modrinth" | ||
MODRINTH_ID: | ||
required: false | ||
description: "ID used to uploading modpack to Modrinth" | ||
CURSEFORGE_KEY: | ||
CURSEFORGE_TOKEN: | ||
required: false | ||
description: "Token used to uploading modpack to Curseforge" | ||
CURSEFORGE_ID: | ||
|
@@ -33,19 +33,17 @@ inputs: | |
default: . | ||
|
||
release-tag: | ||
description: "Tag for the description" | ||
description: "Tag for the release" | ||
required: true | ||
|
||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
|
||
# --- Checkout the repo | ||
- name: Check Out Git Repository | ||
uses: actions/checkout@v3 | ||
|
||
# --- Download the pack files | ||
- name: Download the pack files | ||
uses: robinraju/[email protected] | ||
id: download-files | ||
|
@@ -55,8 +53,6 @@ runs: | |
tarBall: false | ||
zipBall: false | ||
|
||
|
||
# --- Get latest release description | ||
- name: Get latest release description | ||
uses: cardinalby/git-get-release-action@v1 | ||
id: latest-release | ||
|
@@ -65,8 +61,6 @@ runs: | |
with: | ||
tag: ${{ inputs.release-tag }} | ||
|
||
|
||
# --- Set publish version-type | ||
- name: Set publish version-type | ||
id: release-type | ||
run: | | ||
|
@@ -80,13 +74,11 @@ runs: | |
shell: bash | ||
|
||
|
||
# --- Pipe latest release description to file | ||
- name: Pipe latest release description to file | ||
run: echo "${{ steps.latest-release.outputs.body }}" > CHANGELOG.release.md | ||
shell: bash | ||
|
||
|
||
# --- Print status | ||
- name: Print status | ||
run: | | ||
echo "::notice ::⚙ Assets from latest release ${{ steps.latest-release.outputs.tag_name }} downloaded successfully!" | ||
|
@@ -97,15 +89,15 @@ runs: | |
- name: Publish to Modrinth | ||
id: modrinth | ||
if: inputs.upload-modrinth == 'true' | ||
uses: Kir-Antipov/mc-publish@v3.2 | ||
uses: Kir-Antipov/mc-publish@v3.3 | ||
with: | ||
modrinth-id: ${{ inputs.MODRINTH_ID }} | ||
modrinth-token: ${{ inputs.MODRINTH_KEY }} | ||
modrinth-token: ${{ inputs.MODRINTH_TOKEN }} | ||
loaders: ${{ env.loader }} | ||
game-versions: ${{ env.game-version }} | ||
changelog-file: CHANGELOG.release.* | ||
files: "*.mrpack" | ||
version: ${{ steps.tag.outputs.tag }} | ||
version: ${{ inputs.release-tag }} | ||
version-type: ${{ steps.release-type.outputs.release-type }} | ||
|
||
- name: Print Modrinth upload status | ||
|
@@ -117,15 +109,15 @@ runs: | |
- name: Publish to CurseForge | ||
id: curseforge | ||
if: inputs.upload-curse == 'true' | ||
uses: Kir-Antipov/mc-publish@v3.2 | ||
uses: Kir-Antipov/mc-publish@v3.3 | ||
with: | ||
curseforge-id: ${{ inputs.CURSEFORGE_ID }} | ||
curseforge-token: ${{ inputs.CURSEFORGE_KEY }} | ||
curseforge-token: ${{ inputs.CURSEFORGE_TOKEN }} | ||
loaders: ${{ env.loader }} | ||
game-versions: ${{ env.game-version }} | ||
changelog-file: CHANGELOG.release.* | ||
files: "*.zip" | ||
version: ${{ steps.tag.outputs.tag }} | ||
version: ${{ inputs.release-tag }} | ||
version-type: ${{ steps.release-type.outputs.release-type }} | ||
|
||
- name: Print Curseforge upload status | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.