-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3ec7265
commit 07c018d
Showing
1 changed file
with
39 additions
and
39 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 |
---|---|---|
|
@@ -71,19 +71,19 @@ jobs: | |
#tag: ${{ github.ref }} | ||
artifacts: neo/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-neoforge-${{ steps.get_version.outputs.result }}.jar,neo/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-neoforge-${{ steps.get_version.outputs.result }}-slim.jar,neo/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-neoforge-${{ steps.get_version.outputs.result }}-sources.jar,common/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-common-${{ steps.get_version.outputs.result }}.jar,common/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-common-${{ steps.get_version.outputs.result }}-sources.jar | ||
artifactContentType: application/java-archive | ||
- name: Create Forge Release | ||
id: create_forge_release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
allowUpdates: true | ||
draft: false | ||
replacesArtifacts: false | ||
name: modonomicon-${{ steps.get_mc_version.outputs.result }}-${{ steps.get_version.outputs.result }}-${{ steps.get_release_type.outputs.result }} | ||
body: ${{ steps.changelog.outputs.changes }} | ||
token: ${{ github.token }} | ||
#tag: ${{ github.ref }} | ||
artifacts: forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}.jar,forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}-slim.jar,forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}-sources.jar,common/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-common-${{ steps.get_version.outputs.result }}.jar,common/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-common-${{ steps.get_version.outputs.result }}-sources.jar | ||
artifactContentType: application/java-archive | ||
# - name: Create Forge Release | ||
# id: create_forge_release | ||
# uses: ncipollo/release-action@v1 | ||
# with: | ||
# allowUpdates: true | ||
# draft: false | ||
# replacesArtifacts: false | ||
# name: modonomicon-${{ steps.get_mc_version.outputs.result }}-${{ steps.get_version.outputs.result }}-${{ steps.get_release_type.outputs.result }} | ||
# body: ${{ steps.changelog.outputs.changes }} | ||
# token: ${{ github.token }} | ||
# #tag: ${{ github.ref }} | ||
# artifacts: forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}.jar,forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}-slim.jar,forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}-sources.jar,common/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-common-${{ steps.get_version.outputs.result }}.jar,common/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-common-${{ steps.get_version.outputs.result }}-sources.jar | ||
# artifactContentType: application/java-archive | ||
- name: Create Fabric Release | ||
id: create_fabric_release | ||
uses: ncipollo/release-action@v1 | ||
|
@@ -130,32 +130,32 @@ jobs: | |
Find changes for all versions at https://github.com/klikli-dev/modonomicon/releases | ||
dependencies: | | ||
jei(optional) | ||
- name: Upload Forge Version to Mod Platforms | ||
uses: Kir-Antipov/[email protected] | ||
if: ${{ steps.get_release_type.outputs.result != 'test' }} | ||
with: | ||
modrinth-id: 692GClaE | ||
modrinth-token: ${{ secrets.MODRINTH_API_KEY }} | ||
curseforge-id: 538392 | ||
curseforge-token: ${{ secrets.CURSEFORGE_API_KEY }} | ||
|
||
files: | | ||
forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}.jar | ||
forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}-sources.jar | ||
name: modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}.jar | ||
version: ${{ steps.get_mc_version.outputs.result }}-${{ steps.get_version.outputs.result }} | ||
version-type: ${{ steps.get_release_type.outputs.result }} | ||
loaders: | | ||
forge | ||
game-versions: | | ||
${{ steps.get_mc_version.outputs.result }} | ||
changelog: |- | ||
${{ steps.changelog.outputs.changes }} | ||
Find changes for all versions at https://github.com/klikli-dev/modonomicon/releases | ||
dependencies: | | ||
jei(optional) | ||
# - name: Upload Forge Version to Mod Platforms | ||
# uses: Kir-Antipov/[email protected] | ||
# if: ${{ steps.get_release_type.outputs.result != 'test' }} | ||
# with: | ||
# modrinth-id: 692GClaE | ||
# modrinth-token: ${{ secrets.MODRINTH_API_KEY }} | ||
# curseforge-id: 538392 | ||
# curseforge-token: ${{ secrets.CURSEFORGE_API_KEY }} | ||
# | ||
# files: | | ||
# forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}.jar | ||
# forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}-sources.jar | ||
# | ||
# name: modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}.jar | ||
# version: ${{ steps.get_mc_version.outputs.result }}-${{ steps.get_version.outputs.result }} | ||
# version-type: ${{ steps.get_release_type.outputs.result }} | ||
# loaders: | | ||
# forge | ||
# game-versions: | | ||
# ${{ steps.get_mc_version.outputs.result }} | ||
# changelog: |- | ||
# ${{ steps.changelog.outputs.changes }} | ||
# | ||
# Find changes for all versions at https://github.com/klikli-dev/modonomicon/releases | ||
# dependencies: | | ||
# jei(optional) | ||
- name: Upload Fabric Version to Mod Platforms | ||
uses: Kir-Antipov/[email protected] | ||
if: ${{ steps.get_release_type.outputs.result != 'test' }} | ||
|