From 93731056fd50beefa65d4c433c0a53775c8b45b7 Mon Sep 17 00:00:00 2001 From: praydog Date: Mon, 1 Jan 2024 12:34:30 -0800 Subject: [PATCH] CI: Possible fix for incorrect upload for frontend FIX --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f86ed63..353b3c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,11 +10,11 @@ jobs: - uses: actions/setup-dotnet@v1 with: dotnet-version: 6.0.x - - run: dotnet build --configuration Release + - run: dotnet publish --configuration Release -r win-x64 --self-contained true - name: Compress release run: | - 7z a ${{github.workspace}}/ActionsRelease.zip ${{github.workspace}}/UEVR/bin/Release/net6.0-windows/*.* + 7z a ${{github.workspace}}/ActionsRelease.zip ${{github.workspace}}/UEVR/bin/Release/net6.0-windows/win-x64/publish/*.* - name: Upload artifacts uses: actions/upload-artifact@v3