Skip to content

Commit

Permalink
Update workflow release
Browse files Browse the repository at this point in the history
  • Loading branch information
mrquentin committed Apr 2, 2024
1 parent 62ec457 commit 84cf6e6
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
required: true
type: string

permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -47,8 +50,8 @@ jobs:
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 }}
curseforge-id: ${{ vars.CURSE_ID }}
curseforge-token: ${{ secrets.CURSE_TOKEN }}

github-token: ${{ secrets.GITHUB_TOKEN }}
github-generate-changelog: true
Expand All @@ -62,19 +65,19 @@ jobs:
loaders: forge
game-versions: ${{ steps.properties.outputs.minecraftVersion }}

# curseforge-dependencies: |
# resourceful-lib@2.1.23(required)
# resourceful-config@2.1.0(required)
# botarium@2.3.0(required)
# ad-astra@1.15.18(required)
curseforge-dependencies: |
resourceful-lib@2.1.23(required)
resourceful-config@2.1.0(required)
botarium@2.3.0(required)
ad-astra@1.15.18(required)
- 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 }}
curseforge-id: ${{ vars.CURSE_ID }}
curseforge-token: ${{ secrets.CURSE_TOKEN }}

github-token: ${{ secrets.GITHUB_TOKEN }}
github-generate-changelog: true
Expand All @@ -88,8 +91,8 @@ jobs:
loaders: fabric
game-versions: ${{ steps.properties.outputs.minecraftVersion }}

# curseforge-dependencies: |
# resourceful-lib@2.1.23(required)
# resourceful-config@2.1.0(required)
# botarium@2.3.0(required)
# ad-astra@1.15.18(required)
curseforge-dependencies: |
resourceful-lib@2.1.23(required)
resourceful-config@2.1.0(required)
botarium@2.3.0(required)
ad-astra@1.15.18(required)

0 comments on commit 84cf6e6

Please sign in to comment.