mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-19 21:39:09 +00:00
Re-add tested build provenance attestations
This commit is contained in:
parent
628e6cba84
commit
b0432c7659
1 changed files with 17 additions and 0 deletions
17
.github/workflows/publish-exe.yml
vendored
17
.github/workflows/publish-exe.yml
vendored
|
@ -8,6 +8,12 @@ name: Publish Releases
|
|||
jobs:
|
||||
build_publish:
|
||||
name: Publishing Tasks
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
id-token: write
|
||||
attestations: write
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
target:
|
||||
|
@ -84,6 +90,17 @@ jobs:
|
|||
fi
|
||||
fi
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: bin-${{ matrix.target }}
|
||||
path: mypubdir4/*
|
||||
|
||||
- name: Generate artifact attestation
|
||||
uses: actions/attest-build-provenance@v1
|
||||
with:
|
||||
subject-path: mypubdir4/*
|
||||
|
||||
- name: Publish
|
||||
uses: softprops/action-gh-release@v1
|
||||
env:
|
||||
|
|
Loading…
Add table
Reference in a new issue