Upload files to curseforge on release (#1929)

* chore: Upload files to curseforge on release

* chore: Use direct artifact path
This commit is contained in:
Alexander Brandes 2022-09-04 23:30:02 +02:00 committed by GitHub
parent 8233f132d4
commit 3b109ba3ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,3 +26,26 @@ jobs:
files: 'worldedit-bukkit/build/libs/FastAsyncWorldEdit-Bukkit-*.jar' files: 'worldedit-bukkit/build/libs/FastAsyncWorldEdit-Bukkit-*.jar'
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ github.event.release.tag_name }} release-tag: ${{ github.event.release.tag_name }}
upload-to-curseforge:
runs-on: ubuntu-latest
steps:
- uses: Kir-Antipov/mc-publish@v3.2
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