-
Notifications
You must be signed in to change notification settings - Fork 12
46 lines (42 loc) · 1.28 KB
/
publish-fabric-1.18.x.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
name: 'Publish fabric 1.18.x'
run-name: Publish fabric-1.18.x-${{ inputs.version }}
on:
workflow_call:
inputs:
version:
required: true
type: string
secrets:
MODRINTH_TOKEN:
required: true
CURSEFORGE_TOKEN:
required: true
WEBHOOK_URL:
required: true
jobs:
publish-fabric-1-18-x:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
- uses: Kir-Antipov/[email protected]
with:
modrinth-id: Cfbcv7uF
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
curseforge-id: 325235
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
modrinth-unfeature-mode: intersection
files: mc2discord-fabric-1.18.x-${{ inputs.version }}/mc2discord-fabric-1.18.x-${{ inputs.version }}.jar
name: '[Fabric 1.18.x] ${{ inputs.version }}'
changelog-file: CHANGELOG.md
loaders: |
fabric
quilt
game-versions: |
1.18
1.18.1
1.18.2
- uses: tsickert/[email protected]
with:
webhook-url: ${{ secrets.WEBHOOK_URL }}
content: 'New Mc2Discord version released: [Fabric 1.18.x] ${{ inputs.version }}'