diff --git a/.github/workflows/tbnews_tbnews.yml b/.github/workflows/tbnews_tbnews.yml index 59580eaf9f7..412e372fafd 100644 --- a/.github/workflows/tbnews_tbnews.yml +++ b/.github/workflows/tbnews_tbnews.yml @@ -23,10 +23,10 @@ jobs: include-prerelease: true - name: Build with dotnet - run: dotnet build --configuration Release + run: dotnet build --configuration Release --framework net8.0 - name: dotnet publish - run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp + run: dotnet publish -c Release --framework net8.0 -o ${{env.DOTNET_ROOT}}/myapp - name: Upload artifact for deployment job uses: actions/upload-artifact@v3