diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 001244a895..7c7504371d 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -114,7 +114,6 @@ jobs: if: ${{ matrix.options.sdk-preview != true }} uses: actions/setup-dotnet@v3 with: - include-prerelease: true dotnet-version: | 6.0.x @@ -122,7 +121,6 @@ jobs: if: ${{ matrix.options.sdk-preview == true }} uses: actions/setup-dotnet@v3 with: - include-prerelease: true dotnet-version: | 7.0.x diff --git a/ci-pack.ps1 b/ci-pack.ps1 index 09f45347ef..55c69fb590 100644 --- a/ci-pack.ps1 +++ b/ci-pack.ps1 @@ -3,4 +3,4 @@ dotnet clean -c Release $repositoryUrl = "https://github.com/$env:GITHUB_REPOSITORY" # Building for packing and publishing. -dotnet pack -c Release --output "$PSScriptRoot/artifacts" /p:RepositoryUrl=$repositoryUrl +dotnet pack -c Release -p:PackageOutputPath="$PSScriptRoot/artifacts" -p:RepositoryUrl=$repositoryUrl