This repository has been archived by the owner on Mar 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
79 lines (79 loc) · 2.01 KB
/
publish.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
## TODO this
#name: gradle-ci
#
#on:
# release:
# types:
# - published
#
#jobs:
# build:
# runs-on: ubuntu-latest
#
# steps:
# - name: checkout repository
# uses: actions/checkout@v3
# - name: setup JDK 17
# uses: actions/setup-java@v3
# with:
# java-version: 17
# distribution: adopt
# - name: update cache
# uses: actions/cache@v3
# with:
# path: |
# ~/.gradle/caches
# ~/.gradle/loom-cache
# ~/.gradle/wrapper
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle-wrapper.properties') }}
# restore-keys: ${{ runner.os }}-gradle-
#
# - name: make gradle wrapper executable
# run: chmod +x ./gradlew
#
# - name: build
# run: ./gradlew build
#
# - if: ${{ contains(github.ref, 'core') }}
# name: Upload MCXR-Core artifacts to Modrinth, Curseforge and GitHub
# uses: Kir-Antipov/[email protected]
# with:
# name: MCXR Core
#
# modrinth-id: hcEWWGik
# modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
#
# curseforge-id: 631772
# curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
#
# github-token: ${{ secrets.GITHUB_TOKEN }}
#
# files: mcxr-core/build/libs/!(*-@(dev|sources|all)).jar
#
# version-type: beta
#
# loaders: fabric
#
# version-resolver: latest
#
# - if: ${{ contains(github.ref, 'play') }}
# name: Upload MCXR-Play artifacts to Modrinth, Curseforge and GitHub
# uses: Kir-Antipov/[email protected]
# with:
# name: MCXR Play
#
# modrinth-id: hcEWWGik
# modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
#
# curseforge-id: 9jVyqpHR
# curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
#
# github-token: ${{ secrets.GITHUB_TOKEN }}
#
# files: mcxr-play/build/libs/!(*-@(dev|sources|all)).jar
#
# version-type: beta
#
# loaders: fabric
#
# version-resolver: latest