Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to workaround SDK build changes #2362

Merged
merged 1 commit into from
Feb 20, 2023
Merged

Attempt to workaround SDK build changes #2362

merged 1 commit into from
Feb 20, 2023

Conversation

JimBobSquarePants
Copy link
Member

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 馃懏.
  • I have provided test coverage for my change (where applicable)

Description

Fixes #2361

@@ -114,15 +114,13 @@ jobs:
if: ${{ matrix.options.sdk-preview != true }}
uses: actions/setup-dotnet@v3
with:
include-prerelease: true
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is no longer valid for the v3 action

@@ -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
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why we used /p before. The docs say -p

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-pack#examples

@JimBobSquarePants
Copy link
Member Author

I'm gonna merge this as it's blocking. Worst thing that can happen is it doesn't work.

@JimBobSquarePants JimBobSquarePants merged commit 3dd1d9d into main Feb 20, 2023
@JimBobSquarePants JimBobSquarePants deleted the js/2361 branch February 20, 2023 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publish step fails with .NET 7.0.200
1 participant