From 209ff9626f28f613fb6f6fe2ad27adc843ad184d Mon Sep 17 00:00:00 2001 From: Nouredeen Ghazal <82143619+nouredeen06@users.noreply.github.com> Date: Sat, 28 Mar 2026 15:01:21 +0300 Subject: [PATCH 1/2] Update build workflow to publish Clario.Desktop fixed path --- .github/workflows/build-linux.yml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 9e3b2f9..77a34b0 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -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 \ No newline at end of file + retention-days: 7 From e0333e82792a23b1324087bd4535c2f7e55f8939 Mon Sep 17 00:00:00 2001 From: Nouredeen Ghazal <82143619+nouredeen06@users.noreply.github.com> Date: Sat, 28 Mar 2026 15:03:39 +0300 Subject: [PATCH 2/2] Add packaging step for Linux build as tar.gz --- .github/workflows/build-linux.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 77a34b0..3b80551 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -28,9 +28,12 @@ jobs: -p:PublishSingleFile=true \ -o ./publish/linux-x64 + + - name: Package as tar.gz + run: tar -czf Clario-linux-x64.tar.gz -C ./publish/linux-x64 . + - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: Clario-linux-x64 - path: ./publish/linux - retention-days: 7 + name: clario-linux-x64 + path: Clario-linux-x64.tar.gz