From d36f857c57585c9a60fa5632dbcb91c44bfc82ab Mon Sep 17 00:00:00 2001 From: sdsnatcher73 Date: Tue, 16 Jan 2024 11:44:23 +0100 Subject: [PATCH] Update build-windows.yml --- .github/workflows/build-windows.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index ae784d2..12780c3 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -32,8 +32,20 @@ jobs: dotnet-version: 8.x.x - # Restore the application to populate the obj folder with RuntimeIdentifiers + # Build the application - name: Build the application run: dotnet build $env:Solution_Name -c $env:Configuration env: Configuration: ${{ matrix.configuration }} + + # Publish the application + - name: Publish the applications + run: dotnet piblish $env:Solution_Name -c $env:Configuration -o $temp/publish + env: + Configuration: ${{ matrix.configuration }} + + # Upload the application artifacts + - name: Upload a Build Artifact + uses: actions/upload-artifact@v4.1.0 + with: + name: $temp/publish