mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-14 22:55:15 +01:00
28 lines
624 B
YAML
28 lines
624 B
YAML
name: Publish
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
fetch-depth: 0 # needed for versioning
|
|
- name: Set up Java
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: |
|
|
11
|
|
16
|
|
17
|
|
cache: 'gradle'
|
|
- name: Build with Gradle
|
|
env:
|
|
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
|
|
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
|
|
run: ./gradlew publish
|