From 77dfd8ab787a2592b5ef13f53615d749628e9d55 Mon Sep 17 00:00:00 2001 From: Patrick Stevens <3138005+Smaug123@users.noreply.github.com> Date: Mon, 17 Jun 2024 22:47:09 +0100 Subject: [PATCH] Hopefully this actually is the pipeline done (#15) --- .github/workflows/assert-contents.sh | 8 ++++---- README.md | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/assert-contents.sh b/.github/workflows/assert-contents.sh index 223f314..ebefdfb 100644 --- a/.github/workflows/assert-contents.sh +++ b/.github/workflows/assert-contents.sh @@ -2,13 +2,13 @@ echo "Unzipping version from NuGet" ls from-nuget.nupkg -mkdir from-nuget && cp from-nuget.nupkg from-nuget/zip.zip && cd from-nuget && unzip zip.zip && cd - || exit 1 +mkdir from-nuget && cp from-nuget.nupkg from-nuget/zip.zip && cd from-nuget && unzip zip.zip && rm zip.zip && cd - || exit 1 echo "Unzipping version from local build" ls packed/ -mkdir from-local && cp packed/*.nupkg from-local/zip.zip && cd from-local && unzip zip.zip && cd - || exit 1 +mkdir from-local && cp packed/*.nupkg from-local/zip.zip && cd from-local && unzip zip.zip && rm zip.zip && cd - || exit 1 -find from-local -type f -exec sha256sum {} \; | sort > from-local.txt -find from-nuget -type f -and -not -name '.signature.p7s' -exec sha256sum {} \; | sort > from-nuget.txt +cd from-local && find . -type f -exec sha256sum {} \; | sort > ../from-local.txt && cd .. || exit 1 +cd from-nuget && find . -type f -and -not -name '.signature.p7s' -exec sha256sum {} \; | sort > ../from-nuget.txt && cd .. || exit 1 diff from-local.txt from-nuget.txt diff --git a/README.md b/README.md index 636d8e2..a7c4247 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ let info = DotnetEnvironmentInfo.GetSpecific "/path/to/dotnet" ## Troubleshooting +The easiest way to make sure we can find a `dotnet` is to have one on your PATH. + If you have a *very* strange setup, we may be unable to locate the `libhostfxr` library we use to find the runtimes. In that case, you can supply the environment variable `WOOFWARE_DOTNET_LOCATOR_LIBHOSTFXR`, which should be a full path to a `libhostfxr` DLL on your system.