From 9e50cfbde762a58dea7c6eac50d8a45b615be128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Sun, 30 Jun 2024 00:39:50 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f2cf013..52d41ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,11 +9,14 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest] + os: [windows-latest, ubuntu-latest] include: - os: windows-latest vs-version: 'latest' runtime: 'win-x64' + - os: ubuntu-latest + vs-version: 'latest' + runtime: 'linux-x64' steps: - name: Checkout code @@ -28,7 +31,7 @@ jobs: run: dotnet restore - name: Build self-contained application - run: dotnet publish SlidePresenter/ControllerSlidePresenter.csproj --no-restore --configuration Release --self-contained -r ${{ matrix.runtime }} + run: dotnet publish SlidePresenter/ControllerSlidePresenter.csproj --no-restore --configuration Release --self-contained -r ${{ matrix.runtime }} /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true - name: Upload build artifacts uses: actions/upload-artifact@v3