geforkt von Mirrors/FastAsyncWorldEdit
Add CF upload task (#2018)
Dieser Commit ist enthalten in:
Ursprung
fc701b9260
Commit
34dbaa633a
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@ -75,3 +75,18 @@ jobs:
|
|||||||
run: ./gradlew modrinth
|
run: ./gradlew modrinth
|
||||||
env:
|
env:
|
||||||
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
|
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
|
||||||
|
- name : Publish to CurseForge
|
||||||
|
if : ${{ runner.os == 'Linux' && env.STATUS == 'release' && github.event_name == 'push' && github.ref == 'refs/heads/main'}}
|
||||||
|
uses: itsmeow/curseforge-upload@v3
|
||||||
|
with:
|
||||||
|
file_path: worldedit-bukkit/build/libs/FastAsyncWorldEdit-Bukkit-${{ env.VERSION }}.jar
|
||||||
|
# https://minecraft.curseforge.com/api/game/versions?token=redacted
|
||||||
|
# gameVersionTypeID: 1
|
||||||
|
game_versions: "8849,8897,9016,9190,9261"
|
||||||
|
project_id: 103525
|
||||||
|
game_endpoint: minecraft
|
||||||
|
token: ${{ secrets.CURSEFORGE_TOKEN }}
|
||||||
|
display_name: FastAsyncWorldEdit ${{ env.VERSION }}
|
||||||
|
release_type: release
|
||||||
|
changelog: "Click here to view changelog: https://github.com/IntellectualSites/FastAsyncWorldEdit/releases/tag/${{ github.event.release.tag_name }}"
|
||||||
|
changelog_type: markdown
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren