mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-11-28 12:45:25 +01:00
5eb3fd204c
* ViaVersion to 4.9.4-SNAPSHOT, Dependency + Cosmetical changes. * legacy fabric moment. * LF API 1.9.3 * LF API 1.9.3 --------- Co-authored-by: EnZaXD <60033407+FlorianMichael@users.noreply.github.com>
24 lines
706 B
YAML
24 lines
706 B
YAML
name: Publish to CurseForge and Modrinth
|
|
on: [workflow_dispatch] # Manual trigger
|
|
|
|
jobs:
|
|
publish:
|
|
if: github.repository_owner == 'ViaVersion'
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v4
|
|
- name: Validate Gradle Wrapper
|
|
uses: gradle/wrapper-validation-action@v2
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 17
|
|
check-latest: true
|
|
- name: Build and Publish
|
|
env:
|
|
CURSEFORGE_API_KEY: ${{ secrets.CREEPER_CF }}
|
|
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
|
|
run: ./gradlew curseforge modrinth
|