-
Notifications
You must be signed in to change notification settings - Fork 20
43 lines (41 loc) · 1.01 KB
/
resuable_release_gh.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
name: Resuable | GitHub Release
on:
workflow_call:
inputs:
next_version:
type: string
required: true
changelog:
type: string
required: true
jobs:
github_release:
name: Release GitHub
runs-on: ubuntu-latest
steps:
-
name: Artifact - Download Slimefun Resourcepack
uses: actions/download-artifact@v4
with:
path: workdir
merge-multiple: true
-
name: Name - Fix naming
run: |
mv workdir/pack.zip Slimefun-ResourcePack.zip
mv workdir/*.zip .
ls -alh
-
name: GitHub - Update Release
uses: ncipollo/[email protected]
with:
allowUpdates: true
draft: false
makeLatest: true
tag: ${{ inputs.next_version }}
name: ${{ inputs.next_version }}
body: ${{ inputs.changelog }}
artifacts: |
Slimefun-ResourcePack.zip
item-models.zip
ia-addons.zip