-
-
Notifications
You must be signed in to change notification settings - Fork 44
28 lines (25 loc) · 746 Bytes
/
compile_linux.yml
File metadata and controls
28 lines (25 loc) · 746 Bytes
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
on:
workflow_call:
inputs:
VERSION:
required: true
type: string
jobs:
compile_linux:
name: Build Linux Executables
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup dotnet
uses: actions/setup-dotnet@v5
with:
dotnet-version: 9.0.x
- name: Restore Dependencies
run: dotnet restore
- name: Build Release for linux-x64
run: dotnet publish --no-restore -r linux-x64 -p:BuildNumber="${{ github.run_number }}" -p:Version="${{ inputs.VERSION }}"
- name: Upload Release for linux-x64
uses: actions/upload-artifact@v7
with:
name: MelonLoader.Installer.Linux
path: Output/linux-x64