From 09a4e9bf3955099a194ce0936f24eb59efa8afba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Leh=C3=B3czky?= Date: Tue, 5 Nov 2024 12:35:01 +0100 Subject: [PATCH 1/2] Adding Validate NuGet Publish workflow, adding missing job names --- .github/workflows/validate-nuget-publish.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/validate-nuget-publish.yml diff --git a/.github/workflows/validate-nuget-publish.yml b/.github/workflows/validate-nuget-publish.yml new file mode 100644 index 0000000..9f8979c --- /dev/null +++ b/.github/workflows/validate-nuget-publish.yml @@ -0,0 +1,12 @@ +name: Validate NuGet Publish + +on: + pull_request: + push: + branches: + - dev + +jobs: + validate-nuget-publish: + name: Validate NuGet Publish + uses: Lombiq/GitHub-Actions/.github/workflows/validate-nuget-publish.yml@dev From 306b78a6c59be12287d5c99c40f07eb8b67c3b99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Leh=C3=B3czky?= Date: Tue, 5 Nov 2024 13:56:51 +0100 Subject: [PATCH 2/2] NuGet publish config --- .github/workflows/validate-nuget-publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/validate-nuget-publish.yml b/.github/workflows/validate-nuget-publish.yml index 9f8979c..0adce6e 100644 --- a/.github/workflows/validate-nuget-publish.yml +++ b/.github/workflows/validate-nuget-publish.yml @@ -10,3 +10,7 @@ jobs: validate-nuget-publish: name: Validate NuGet Publish uses: Lombiq/GitHub-Actions/.github/workflows/validate-nuget-publish.yml@dev + with: + # These warnings are related to the tooling erroneously assuming that a ps1 file must be an (un)install script. In + # this repo the ps1 files are assets to be used by the consumer. + dotnet-pack-ignore-warning: NU5110 NU5111