forked from UltimateBoomer/mc-smoothboot
-
Notifications
You must be signed in to change notification settings - Fork 8
51 lines (40 loc) · 1.09 KB
/
release.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
name: Release
on:
release:
types: [published]
jobs:
build:
uses: ./.github/workflows/build.yml
make-release:
name: Create
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: jars
path: jars
- name: Create Release
uses: Kir-Antipov/mc-publish@v3
env:
VERSION: ${{ github.ref_name }}
with:
modrinth-id: threadtweak
modrinth-featured: true
modrinth-unfeature-mode: any
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
github-tag: ${{ github.ref_name }}
github-token: ${{ github.token }}
files: |
jars/!(*-@(dev|sources|javadoc)).jar
jars/*-@(dev|sources|javadocs).jar
name: ThreadTweak ${{ env.VERSION }}
version: ${{ env.VERSION }}
version-type: release
changelog: ${{ github.event.release.body }}
loaders: |
fabric
quilt