gha: List all native libs before packing .Net distribution
This commit is contained in:
7
.github/workflows/Nuget-publishing.yml
vendored
7
.github/workflows/Nuget-publishing.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: ${{ github.event.workflow_run.head_branch }}
|
ref: ${{ github.event.workflow_run.head_branch }}
|
||||||
|
|
||||||
- name: 'Download and extract artifacts'
|
- name: Download and extract artifacts
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
@@ -125,7 +125,10 @@ jobs:
|
|||||||
- name: Authenticate to Github Packages
|
- 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"
|
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: |
|
run: |
|
||||||
[[ "${{ github.event.workflow_run.head_branch }}" == "master" ]] \
|
[[ "${{ github.event.workflow_run.head_branch }}" == "master" ]] \
|
||||||
&& dotnet pack -c Release \
|
&& dotnet pack -c Release \
|
||||||
|
|||||||
Reference in New Issue
Block a user