Upload files to curseforge on release (#1929)

* chore: Upload files to curseforge on release

* chore: Use direct artifact path
Dieser Commit ist enthalten in:
Alexander Brandes 2022-09-04 23:30:02 +02:00 committet von GitHub
Ursprung 8233f132d4
Commit 3b109ba3ff
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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