-
-
Notifications
You must be signed in to change notification settings - Fork 44
45 lines (40 loc) · 1.21 KB
/
upload_github.yml
File metadata and controls
45 lines (40 loc) · 1.21 KB
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
on:
workflow_call:
inputs:
TAG:
required: true
type: string
RELEASE_NAME:
required: true
type: string
jobs:
upload_github:
name: Upload GitHub Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Download Windows x64 Artifact
uses: actions/download-artifact@v8
with:
name: MelonLoader.Installer
path: ./compiled_release
- name: Download Linux x64 Artifact
uses: actions/download-artifact@v8
with:
name: MelonLoader.Installer.Linux
path: ./compiled_release
- name: Download MacOS Artifact
uses: actions/download-artifact@v8
with:
name: MelonLoader.Installer.MacOS
path: ./compiled_release
- name: Create Release
uses: softprops/action-gh-release@v3
with:
body_path: RELEASE-NOTES.md
tag: ${{ inputs.TAG }}
release_name: ${{ inputs.RELEASE_NAME }}
files: |
compiled_release/MelonLoader.Installer.exe
compiled_release/MelonLoader.Installer.Linux
compiled_release/MelonLoader.Installer.MacOS.dmg