Skip to content

v2.1.1 #2

v2.1.1 #2 #4

Workflow file for this run

name: Publish Alpha
on:
push:
branches:
- alpha/v2.1.x
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: |
8
16
17
21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: false
- name: Build with Gradle
run: ./gradlew build
- name: Publish to releases maven repository
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
run: ./gradlew publish
- name: Publish Paper to Modrinth
uses: Apehum/[email protected]
with:
name: 'Plasmo Voice'
split-releases: true
files-primary: build/libs/*-@(Paper)-*.jar
changelog-file: server/changelog.md
version-type: alpha
game-versions: |
1.16.5
1.17.1
1.18.2
1.19.2
1.19.4
1.20.1
1.20.4
1.21
1.21.1
modrinth-unfeature-mode: 'subset'
modrinth-id: 1bZhdhsH
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
- name: Publish Bungee/Velocity to Modrinth
uses: Apehum/[email protected]
with:
name: 'Plasmo Voice'
split-releases: true
files-primary: build/libs/*-@(BungeeCord|Velocity)-*.jar
version-resolver: 'exact'
changelog-file: proxy/changelog.md
version-type: alpha
game-versions: |
1.16.5
1.17.1
1.18.2
1.19.2
1.19.4
1.20.1
1.20.4
1.21
1.21.1
modrinth-unfeature-mode: 'subset'
modrinth-id: 1bZhdhsH
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
- name: Publish Client to Modrinth/CurseForge
uses: Apehum/[email protected]
with:
name: 'Plasmo Voice'
split-releases: true
files-primary: build/libs/*-@(forge|neoforge|fabric)-*.jar
version-resolver: 'exact'
changelog-file: client/changelog.md
version-type: alpha
modrinth-unfeature-mode: 'subset'
modrinth-id: 1bZhdhsH
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
curseforge-id: 467028
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
- name: Publish to GitHub
uses: Apehum/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-generate-changelog: false
github-prerelease: true