From a810da70950363110650c6eb2101db231ae714b4 Mon Sep 17 00:00:00 2001 From: TSR Berry <20988865+TSRBerry@users.noreply.github.com> Date: Sat, 5 Nov 2022 02:56:31 +0100 Subject: [PATCH] gha: List all native libs before packing .Net distribution --- .github/workflows/Nuget-publishing.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Nuget-publishing.yml b/.github/workflows/Nuget-publishing.yml index ce5450bb..420a7026 100644 --- a/.github/workflows/Nuget-publishing.yml +++ b/.github/workflows/Nuget-publishing.yml @@ -27,7 +27,7 @@ jobs: with: ref: ${{ github.event.workflow_run.head_branch }} - - name: 'Download and extract artifacts' + - name: Download and extract artifacts uses: actions/github-script@v6 with: script: | @@ -125,7 +125,10 @@ jobs: - name: Authenticate to Github Packages run: dotnet nuget add source --username "${{ github.repository_owner }}" --password "${{ secrets.GITHUB_TOKEN }}" --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" - - name: Package .NET bindings + - name: List all native libraries + run: find ./runtimes -type f -print + + - name: Package .NET distribution run: | [[ "${{ github.event.workflow_run.head_branch }}" == "master" ]] \ && dotnet pack -c Release \