Update build workflow to publish Clario.Desktop

fixed path
This commit is contained in:
Nouredeen Ghazal
2026-03-28 15:01:21 +03:00
committed by GitHub
parent acfdf89ade
commit 209ff9626f

View File

@@ -19,20 +19,14 @@ jobs:
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore Clario/Clario.csproj
- name: Build
run: dotnet build Clario/Clario.csproj --configuration Release --no-restore
- name: Publish
run: dotnet publish Clario/Clario.csproj \
--configuration Release \
--runtime linux-x64 \
run: |
dotnet publish Clario.Desktop/Clario.Desktop.csproj \
-r linux-x64 \
-c Release \
--self-contained true \
--output ./publish/linux \
-p:PublishSingleFile=true \
-p:IncludeNativeLibrariesForSelfExtract=true
-o ./publish/linux-x64
- name: Upload artifact
uses: actions/upload-artifact@v4