Skip to content

Commit

Permalink
Upload files to curseforge on release (#1929)
Browse files Browse the repository at this point in the history
* chore: Upload files to curseforge on release

* chore: Use direct artifact path
  • Loading branch information
NotMyFault authored Sep 4, 2022
1 parent 8233f13 commit 3b109ba
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/upload-release-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,26 @@ jobs:
files: 'worldedit-bukkit/build/libs/FastAsyncWorldEdit-Bukkit-*.jar'
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ github.event.release.tag_name }}

upload-to-curseforge:
runs-on: ubuntu-latest
steps:
- uses: Kir-Antipov/[email protected]
with:
curseforge-id: 103525
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}

files-primary: worldedit-bukkit/build/libs/FastAsyncWorldEdit-Bukkit-*.jar

name: FastAsyncWorldEdit ${{ github.event.release.tag_name }}
version: ${{ github.event.release.tag_name }}
version-type: release

game-versions: |
1.19.1
1.19
1.18.2
1.18.1
1.18
1.17
1.16

0 comments on commit 3b109ba

Please sign in to comment.