WOrkflows

This commit is contained in:
2025-08-22 12:15:27 +01:00
parent ececcfc230
commit 101b8b5445
2 changed files with 80 additions and 0 deletions

34
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: .NET Build
on:
push:
branches: '*'
pull_request:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '9.x.x'
- name: Restore dependencies
run: dotnet restore
- name: Download Dalamud
run: |
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/stg/latest.zip -OutFile latest.zip
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev\"
- name: Build
run: |
dotnet build --no-restore --configuration Release --nologo
- name: Archive
run: Compress-Archive -Path MareSynchronos/bin/x64/Release/* -DestinationPath SnowcloakClient.zip
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
path: |
./MareSynchronos/bin/x64/Release/*