-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (39 loc) · 969 Bytes
/
master.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#file: noinspection SpellCheckingInspection
name: Push (master)
on:
push:
branches:
- master
jobs:
dependencies:
name: Dependencies
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 21
distribution: temurin
- uses: mikepenz/[email protected]
with:
use-gradlew: false
modrinth-description:
name: Update Modrinth Description
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
- uses: gradle/gradle-build-action@v2
- name: Build
run: |
gradle modrinthSyncBody
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}