gha: List all native libs before packing .Net distribution
This commit is contained in:
parent
2e6a888052
commit
a810da7095
7
.github/workflows/Nuget-publishing.yml
vendored
7
.github/workflows/Nuget-publishing.yml
vendored
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user