Skip to content

4.1.0-ci.51 | Downgrade to .NET 8 because .NET 9 has crashing issues #51

4.1.0-ci.51 | Downgrade to .NET 8 because .NET 9 has crashing issues

4.1.0-ci.51 | Downgrade to .NET 8 because .NET 9 has crashing issues #51

Workflow file for this run

name: Build Installer
run-name: 4.1.0-ci.${{ github.run_number }} | ${{ github.event_name != 'workflow_dispatch' && (github.event.head_commit.message || format('`[PR]` {0}', github.event.pull_request.title)) || 'Manual Build' }}
env:
DEVVERSION: "4.1.0"
on:
push:
branches: [ development ]
pull_request:
branches: [ development ]
workflow_dispatch:
jobs:
build:
name: Build Installer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore Dependencies
run: dotnet restore
- name: Build for Windows
run: dotnet publish --no-restore -r win-x64 -p:Version="${{ env.DEVVERSION }}.${{ github.run_number }}"
- name: Upload Artifact for Windows
uses: actions/upload-artifact@v4
with:
name: MelonLoader.Installer
path: Output/win-x64/
- name: Build for Linux
run: dotnet publish --no-restore -r linux-x64 -p:Version="${{ env.DEVVERSION }}.${{ github.run_number }}"
- name: Upload Artifact for Linux
uses: actions/upload-artifact@v4
with:
name: MelonLoader.Installer.Linux
path: Output/linux-x64/