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