Fix HttpClient publish (#13)

This commit is contained in:
Patrick Stevens
2024-10-07 20:05:52 +01:00
committed by GitHub
parent 9b7a27f2de
commit ed3550ae1b
2 changed files with 36 additions and 5 deletions

View File

@@ -184,12 +184,12 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: nuget-package-httpclient-attrs
path: Plugins/ArgParser/WoofWare.Whippet.Plugin.HttpClient.Attributes/bin/Release/WoofWare.Whippet.Plugin.HttpClient.*.nupkg
path: Plugins/HttpClient/WoofWare.Whippet.Plugin.HttpClient.Attributes/bin/Release/WoofWare.Whippet.Plugin.HttpClient.*.nupkg
- name: Upload NuGet artifact (httpclient plugin)
uses: actions/upload-artifact@v4
with:
name: nuget-package-httpclient
path: Plugins/ArgParser/WoofWare.Whippet.Plugin.HttpClient/bin/Release/WoofWare.Whippet.Plugin.HttpClient.*.nupkg
path: Plugins/HttpClient/WoofWare.Whippet.Plugin.HttpClient/bin/Release/WoofWare.Whippet.Plugin.HttpClient.*.nupkg
expected-pack:
needs: [nuget-pack]
@@ -251,6 +251,22 @@ jobs:
- name: Check NuGet contents
# Verify that there is exactly one nupkg in the artifact that would be NuGet published
run: if [[ $(find packed-argparser -maxdepth 1 -name 'WoofWare.Whippet.Plugin.ArgParser.*.nupkg' -printf c | wc -c) -ne "1" ]]; then exit 1; fi
- name: Download NuGet artifact (httpclient attrs)
uses: actions/download-artifact@v4
with:
name: nuget-package-httpclient-attrs
path: packed-httpclient-attrs
- name: Check NuGet contents
# Verify that there is exactly one nupkg in the artifact that would be NuGet published
run: if [[ $(find packed-httpclient-attrs -maxdepth 1 -name 'WoofWare.Whippet.Plugin.HttpClient.Attributes.*.nupkg' -printf c | wc -c) -ne "1" ]]; then exit 1; fi
- name: Download NuGet artifact (httpclient plugin)
uses: actions/download-artifact@v4
with:
name: nuget-package-httpclient
path: packed-httpclient
- name: Check NuGet contents
# Verify that there is exactly one nupkg in the artifact that would be NuGet published
run: if [[ $(find packed-httpclient -maxdepth 1 -name 'WoofWare.Whippet.Plugin.HttpClient.*.nupkg' -printf c | wc -c) -ne "1" ]]; then exit 1; fi
check-accurate-generations:
runs-on: ubuntu-latest