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 e9c155b272
commit 0c782fd9b4

View File

@@ -18,25 +18,19 @@ jobs:
uses: actions/setup-dotnet@v4
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 \
--self-contained true \
--output ./publish/linux \
-p:PublishSingleFile=true \
-p:IncludeNativeLibrariesForSelfExtract=true
run: |
dotnet publish Clario.Desktop/Clario.Desktop.csproj \
-r linux-x64 \
-c Release \
--self-contained true \
-p:PublishSingleFile=true \
-o ./publish/linux-x64
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Clario-linux-x64
path: ./publish/linux
retention-days: 7
retention-days: 7