Skip to content

Commit

Permalink
Merge pull request #2 from Miniontoby/dev
Browse files Browse the repository at this point in the history
Update release.yml to add Modrinth upload
  • Loading branch information
SineVector241 authored Jan 24, 2025
2 parents e24ebd9 + 3944364 commit 46e9101
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,19 @@ jobs:
build/libs/GeyserVoice-*.jar
env:
GITHUB_REPOSITORY: AvionBlock/GeyserVoice

- name: Create Modrinth release
if: github.event.inputs.status == 'stable'
uses: dsx137/modrinth-release-action@main
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
with:
name: GeyserVoice ${{ github.event.inputs.tag }}
project_id: WtPu56Wa
loaders: paper, spigot, bukkit, purpur, velocity, bungeecord
game_versions: 1.20.2:1.21.3
version_number: ${{ github.event.inputs.tag }}
featured: github.event.inputs.status == 'stable'
version_type: ${{ github.event.inputs.status == 'stable' && 'release' || 'beta' }}
files: |
./build/libs/GeyserVoice-*.jar

0 comments on commit 46e9101

Please sign in to comment.