diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml index c2a0efe5b..c3fb4c141 100644 --- a/.github/workflows/maven.yaml +++ b/.github/workflows/maven.yaml @@ -76,9 +76,7 @@ jobs: ${{ runner.os }}-maven- - name: Compile to get local resources - run: | - dotnet build --no-incremental --framework net5.0 src\NuReflector.sln - dotnet build --no-incremental --framework net461 src\NuReflector.sln + run: dotnet build --no-incremental src\NuReflector.sln - name: Install gpg secret key run: | diff --git a/.github/workflows/pullrequest.yaml b/.github/workflows/pullrequest.yaml index 8aed722b3..4dbc077b8 100644 --- a/.github/workflows/pullrequest.yaml +++ b/.github/workflows/pullrequest.yaml @@ -26,9 +26,7 @@ jobs: submodules: 'true' - name: Compile - run: | - dotnet build --no-incremental --framework net5.0 src\NuReflector.sln - dotnet build --no-incremental --framework net461 src\NuReflector.sln + run: dotnet build --no-incremental src\NuReflector.sln - name: Reflect and Build net5.0 Maven POM files run: dotnet bin\net5.0\NuReflectorCLI.dll -PackagesFile .github\workflows\packages.json