From 6a1331ef3071018e9cddf690bf2f589cc7db2a21 Mon Sep 17 00:00:00 2001 From: Alexandru Macocian Date: Thu, 26 Oct 2023 21:54:36 +0200 Subject: [PATCH] Another try --- .github/workflows/cd.yaml | 6 +++--- .github/workflows/ci.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index a15a4ad9..6093010d 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -75,7 +75,7 @@ jobs: RuntimeIdentifier: win-${{ matrix.targetplatform }} - name: Build Daybreak project - run: dotnet build Daybreak -c $env:Configuration --property:SolutionDir=$GITHUB_WORKSPACE + run: dotnet build Daybreak -c $env:Configuration --property:SolutionDir=$env:GITHUB_WORKSPACE - name: Set version variable run: | @@ -83,12 +83,12 @@ jobs: echo "::set-env name=Version::$version" - name: Create publish launcher files - run: dotnet publish .\Daybreak\Daybreak.csproj -c $env:Configuration -r $env:RuntimeIdentifier --property:SolutionDir=$GITHUB_WORKSPACE -p:PublishReadyToRun=true -p:PublishSingleFile=true --self-contained true -o .\Publish + run: dotnet publish .\Daybreak\Daybreak.csproj -c $env:Configuration -r $env:RuntimeIdentifier --property:SolutionDir=$env:GITHUB_WORKSPACE -p:PublishReadyToRun=true -p:PublishSingleFile=true --self-contained true -o .\Publish env: RuntimeIdentifier: win-${{ matrix.targetplatform }} - name: Create publish installer files - run: dotnet publish .\Daybreak.Installer\Daybreak.Installer.csproj -c $env:Configuration -r $env:RuntimeIdentifier --property:SolutionDir=$GITHUB_WORKSPACE -p:PublishReadyToRun=true -p:PublishSingleFile=true --self-contained true -o .\Publish + run: dotnet publish .\Daybreak.Installer\Daybreak.Installer.csproj -c $env:Configuration -r $env:RuntimeIdentifier --property:SolutionDir=$env:GITHUB_WORKSPACE -p:PublishReadyToRun=true -p:PublishSingleFile=true --self-contained true -o .\Publish env: RuntimeIdentifier: win-${{ matrix.targetplatform }} diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index aebc5225..f74a8a99 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -51,10 +51,10 @@ jobs: run: cmake -S . -B build -A Win32 - name: Execute Unit Tests - run: dotnet test $env:Test_Project_Path --property:SolutionDir=$GITHUB_WORKSPACE + run: dotnet test $env:Test_Project_Path --property:SolutionDir=$env:GITHUB_WORKSPACE - name: Restore the Wpf application to populate the obj folder - run: msbuild $env:Solution_Path /t:Restore /p:Configuration=$env:Configuration /p:RuntimeIdentifier=$env:RuntimeIdentifier --property:SolutionDir=$GITHUB_WORKSPACE + run: msbuild $env:Solution_Path /t:Restore /p:Configuration=$env:Configuration /p:RuntimeIdentifier=$env:RuntimeIdentifier --property:SolutionDir=$env:GITHUB_WORKSPACE env: Configuration: Debug RuntimeIdentifier: win-${{ matrix.targetplatform }} \ No newline at end of file