Skip to content

Commit

Permalink
Try to fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mrquentin committed Mar 28, 2024
1 parent c1057a7 commit be083ee
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,29 +39,29 @@ jobs:
path: ./gradle.properties
properties: "version enabledPlatforms minecraftVersion"

# - name: Upload Forge Releases (Curse|Modrinth|Github)
# id: forge_release
# if: contains(steps.properties.outputs.enabledPlatforms, 'forge')
# uses: Kir-Antipov/mc-publish@v3.3.0
# with:
- name: Upload Forge Releases (Curse|Modrinth|Github)
id: forge_release
if: contains(steps.properties.outputs.enabledPlatforms, 'forge')
uses: Kir-Antipov/mc-publish@v3.3.0
with:
# curseforge-id: ${{ vars.CURSE_ID }}
# curseforge-token: ${{ secrets.CURSE_TOKEN }}
#
# modrinth-id: ${{ vars.MODRINTH_ID }}
# modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
#
# github-token: ${{ secrets.GITHUB_TOKEN }}
# github-generate-changelog: true
# github-tag: ${{ steps.properties.outputs.minecraftVersion }}-${{ steps.properties.outputs.version }}
#
# files: ./forge/build/libs/!(*-@(dev|sources|dev-shadow)).jar
# name: [ Forge ] Cosmic Rocketry ${{ steps.properties.outputs.version }}"
# version: ${{ steps.properties.outputs.version }}
# version-type: ${{ inputs.version_type }}
# changelog-file: changelog.md
# loaders: forge
# game-versions: ${{ steps.properties.outputs.minecraftVersion }}
# version-resolver: exact

github-token: ${{ secrets.GITHUB_TOKEN }}
github-generate-changelog: true
github-tag: ${{ steps.properties.outputs.minecraftVersion }}-${{ steps.properties.outputs.version }}

files: ./forge/build/libs/!(*-@(dev|sources|dev-shadow)).jar
name: [ Forge ] Cosmic Rocketry ${{ steps.properties.outputs.version }}"
version: ${{ steps.properties.outputs.version }}
version-type: ${{ inputs.version_type }}
changelog-file: changelog.md
loaders: forge
game-versions: ${{ steps.properties.outputs.minecraftVersion }}
version-resolver: exact
#
# curseforge-dependencies: |
# resourceful-lib | depends | *
Expand All @@ -74,29 +74,29 @@ jobs:
# botarium | depends | *
# ad-astra | depends | *

# - name: Upload Fabric Releases (Curse|Modrinth|Github)
# id: fabric_release
# if: contains(steps.properties.outputs.enabledPlatforms, 'fabric')
# uses: Kir-Antipov/mc-publish@v3.3.0
# with:
- name: Upload Fabric Releases (Curse|Modrinth|Github)
id: fabric_release
if: contains(steps.properties.outputs.enabledPlatforms, 'fabric')
uses: Kir-Antipov/mc-publish@v3.3.0
with:
# curseforge-id: ${{ vars.CURSE_ID }}
# curseforge-token: ${{ secrets.CURSE_TOKEN }}
#
# modrinth-id: ${{ vars.MODRINTH_ID }}
# modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
#
# github-token: ${{ secrets.GITHUB_TOKEN }}
# github-generate-changelog: true
# github-tag: ${{ steps.properties.outputs.minecraftVersion }}-${{ steps.properties.outputs.version }}
#
# files: ./fabric/build/libs/!(*-@(dev|sources|dev-shadow)).jar
# name: [ Fabric ] Cosmic Rocketry ${{ steps.properties.outputs.version }}"
# version: ${{ steps.properties.outputs.version }}
# version-type: ${{ inputs.version_type }}
# changelog-file: changelog.md
# loaders: fabric
# game-versions: ${{ steps.properties.outputs.minecraftVersion }}
# version-resolver: exact
github-token: ${{ secrets.GITHUB_TOKEN }}
github-generate-changelog: true
github-tag: ${{ steps.properties.outputs.minecraftVersion }}-${{ steps.properties.outputs.version }}

files: ./fabric/build/libs/!(*-@(dev|sources|dev-shadow)).jar
name: [ Fabric ] Cosmic Rocketry ${{ steps.properties.outputs.version }}"
version: ${{ steps.properties.outputs.version }}
version-type: ${{ inputs.version_type }}
changelog-file: changelog.md
loaders: fabric
game-versions: ${{ steps.properties.outputs.minecraftVersion }}
version-resolver: exact
#
# curseforge-dependencies: |
# resourceful-lib | depends | *
Expand Down

0 comments on commit be083ee

Please sign in to comment.