mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
Add GitHub attestation build provenance for NuGet packages
This commit is contained in:
parent
a904cb8aad
commit
113781628b
12
.github/workflows/dotnet-core.yml
vendored
12
.github/workflows/dotnet-core.yml
vendored
@ -6,6 +6,11 @@ on:
|
|||||||
- stable
|
- stable
|
||||||
- next
|
- next
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
|
attestations: write
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-windows-msvc:
|
build-windows-msvc:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
@ -221,6 +226,11 @@ jobs:
|
|||||||
name: nuget-package
|
name: nuget-package
|
||||||
path: .libsodium-pack/bin/Release/*.nupkg
|
path: .libsodium-pack/bin/Release/*.nupkg
|
||||||
|
|
||||||
|
- name: Attest Build Provenance
|
||||||
|
uses: actions/attest-build-provenance@897ed5eab6ed058a474202017ada7f40bfa52940
|
||||||
|
with:
|
||||||
|
subject-path: .libsodium-pack/bin/Release/*.nupkg
|
||||||
|
|
||||||
build-test-binaries:
|
build-test-binaries:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
@ -328,4 +338,4 @@ jobs:
|
|||||||
- name: Run ${{ matrix.arch }}
|
- name: Run ${{ matrix.arch }}
|
||||||
run: |
|
run: |
|
||||||
chmod +x .libsodium-builds/linux-${{ matrix.arch }}/Tests
|
chmod +x .libsodium-builds/linux-${{ matrix.arch }}/Tests
|
||||||
env LD_LIBRARY_PATH=${{ matrix.libs }} .libsodium-builds/linux-${{ matrix.arch }}/Tests
|
env LD_LIBRARY_PATH=${{ matrix.libs }} .libsodium-builds/linux-${{ matrix.arch }}/Tests
|
Loading…
Reference in New Issue
Block a user