Skip to content

Commit

Permalink
Update embed and build
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatGravyBoat committed Nov 8, 2023
1 parent 0400e8d commit b8751cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Upload Forge Releases (Curse/Modrinth/Github)
id: forge_release
if: contains(steps.properties.outputs.enabledPlatforms, 'forge')
uses: Kir-Antipov/mc-publish@v3.2
uses: Kir-Antipov/mc-publish@v3.3
with:
curseforge-id: ${{ vars.CURSE_ID }}
curseforge-token: ${{ secrets.CURSE_TOKEN }}
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Upload Fabric Releases (Curse/Modrinth/Github)
id: fabric_release
if: contains(steps.properties.outputs.enabledPlatforms, 'fabric')
uses: Kir-Antipov/mc-publish@v3.2
uses: Kir-Antipov/mc-publish@v3.3
with:
curseforge-id: ${{ vars.CURSE_ID }}
curseforge-token: ${{ secrets.CURSE_TOKEN }}
Expand All @@ -87,8 +87,8 @@ jobs:
- name: Generate Discord Embed
run: ./gradlew injectEmbed
env:
FORGE_RELEASE_URL: ${{ steps.forge_release.outputs.modrinth-url }}
FABRIC_RELEASE_URL: ${{ steps.fabric_release.outputs.modrinth-url }}
FORGE_RELEASE_URL: ${{ steps.forge_release.outputs.modrinth-version }}
FABRIC_RELEASE_URL: ${{ steps.fabric_release.outputs.modrinth-version }}

- name: Upload Discord Embed
uses: tsickert/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions templates/embed.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"type": 2,
"label": "Fabric",
"style": 5,
"url": "${fabric_link}"
"url": "https://modrinth.com/mod/heracles/version/${fabric_link}"
},
{
"type": 2,
"label": "Forge",
"style": 5,
"url": "${forge_link}"
"url": "https://modrinth.com/mod/heracles/version/${forge_link}"
}
]

Expand Down

0 comments on commit b8751cc

Please sign in to comment.