-
-
Notifications
You must be signed in to change notification settings - Fork 68
42 lines (40 loc) · 972 Bytes
/
curseforge.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
name: CF CI
on:
push:
branches:
- 3.x
- 4.x-unstable
- 4.x
- 5.x
- 6.x
- 6.x-1.17
- 7.x-1.18
- 8.x-1.18.2
- 9.x-1.19
- 10.x-1.19.3
- 11.x-1.19.4
- 11.x-23w13a_or_b
- 12.x-1.20
- 13.x-1.20.2
- 14.x-1.20.4
- 15.x-1.20.5
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- uses: actions/checkout@v2
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: 21
distribution: temurin
- name: Upload Mod
uses: gradle/gradle-build-action@v2
with:
arguments: build publish publishUnified --stacktrace
env:
danielshe_curse_api_key: ${{ secrets.CF_API_KEY }}
modrinth_key: ${{ secrets.MODRINTH_KEY }}
BRANCH_NAME: ${{ github.ref }}
MAVEN_PASS: ${{ secrets.MAVEN_PASS }}