Skip to content

Commit

Permalink
ci(publish): publish with parsed changelog
Browse files Browse the repository at this point in the history
Signed-off-by: Brycen G <brycengranville@outlook.com>
  • Loading branch information
BrycensRanch committed Mar 18, 2023
1 parent b1a7647 commit 9aa6920
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,17 @@ jobs:

- name: Run snapshot action
uses: mikepenz/gradle-dependency-submission@v0.8.4

- name: Parse Changelog
id: changelog
uses: ocavue/changelog-parser-action@v1

- name: Publish to Modrinth
uses: BrycensRanch/plugin-publish@bfd63d76b40412e0d362c9f4847bb9b1e95b8735
with:
modrinth-id: jVlopSkZ
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
changelog: ${{ steps.changelog.outputs.latestBody }}
loaders: |
bukkit
spigot
Expand All @@ -228,16 +234,24 @@ jobs:
with:
curseforge-id: 832361
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
changelog: ${{ steps.changelog.outputs.latestBody }}
loaders: |
bukkit
spigot
paper
purpur
game-versions: |
1.17
1.19.3
java: 17
version-type: ${{ github.head_ref || github.ref_name }}
fail-mode: warn
- name: Publish to Polymart
uses: BrycensRanch/plugin-publish@bfd63d76b40412e0d362c9f4847bb9b1e95b8735
with:
polymart-id: 2057
polymart-token: ${{ secrets.POLYMART_TOKEN }}
changelog: ${{ steps.changelog.outputs.latestBody }}
java: 17
version-type: ${{ github.head_ref || github.ref_name }}
fail-mode: warn
Expand Down

0 comments on commit 9aa6920

Please sign in to comment.