3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-19 22:40:18 +01:00
Geyser/.github/workflows/publish.yml

31 Zeilen
750 B
YAML

2023-03-20 18:08:07 +01:00
name: Publish
on:
workflow_dispatch:
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/*.yml'
- '.github/actions/pullrequest.yml'
- '.idea/copyright/*.xml'
- '.gitignore'
- 'CONTRIBUTING.md'
- 'LICENSE'
- 'Jenkinsfile '
- 'README.md'
- 'licenseheader.txt'
2023-03-20 18:04:53 +01:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2023-03-20 18:32:02 +01:00
with:
submodules: recursive
2023-03-20 18:04:53 +01:00
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
2023-03-20 18:08:07 +01:00
- name: Publish to Modrinth
2023-03-20 18:04:53 +01:00
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
run: ./gradlew fabric:modrinth