mirror of
https://github.com/starship/starship.git
synced 2024-12-24 16:18:53 +01:00
feat(release): codesign windows release binaries (#6273)
This commit is contained in:
parent
d6814be0ba
commit
fcc697b9b3
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@ -138,18 +138,15 @@ jobs:
|
||||
- name: Sign | Sign [Windows]
|
||||
continue-on-error: true
|
||||
if: matrix.os == 'windows-latest'
|
||||
uses: signpath/github-action-submit-signing-request@v0.4
|
||||
uses: signpath/github-action-submit-signing-request@v1
|
||||
with:
|
||||
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
|
||||
organization-id: '${{ vars.SIGNPATH_ORGANIZATION_ID }}'
|
||||
project-slug: 'starship'
|
||||
signing-policy-slug: 'test-signing'
|
||||
github-artifact-id: '${{ steps.unsigned-artifacts.outputs.artifact-id }}'
|
||||
wait-for-completion: false
|
||||
# TODO use release-signing certificate:
|
||||
# signing-policy-slug: 'release-signing'
|
||||
# wait-for-completion: true
|
||||
# output-artifact-directory: 'target/${{ matrix.target }}/release'
|
||||
signing-policy-slug: 'release-signing'
|
||||
wait-for-completion: true
|
||||
output-artifact-directory: 'target/${{ matrix.target }}/release'
|
||||
|
||||
- name: Post Build | Prepare artifacts [Windows]
|
||||
if: matrix.os == 'windows-latest'
|
||||
|
2
.github/workflows/workflow.yml
vendored
2
.github/workflows/workflow.yml
vendored
@ -233,7 +233,7 @@ jobs:
|
||||
target/debug/starship-x86_64-pc-windows-msvc.msi
|
||||
|
||||
- name: Sign | Sign [Windows]
|
||||
uses: signpath/github-action-submit-signing-request@v0.4
|
||||
uses: signpath/github-action-submit-signing-request@v1
|
||||
continue-on-error: true
|
||||
if: matrix.os == 'windows-latest' && matrix.rust == 'stable' && github.event_name == 'push' && github.repository == 'starship/starship'
|
||||
with:
|
||||
|
11
README.md
11
README.md
@ -433,7 +433,16 @@ Please check out these previous works that helped inspire the creation of starsh
|
||||
|
||||
Support this project by [becoming a sponsor](https://github.com/sponsors/starship). Your name or logo will show up here with a link to your website.
|
||||
|
||||
- Free code signing provided by [SignPath.io], certificate by [SignPath Foundation]
|
||||
## 🔒 Code Signing Policy
|
||||
|
||||
Free code signing provided by [SignPath.io], certificate by [SignPath Foundation].
|
||||
|
||||
Code Signing Roles:
|
||||
|
||||
- Reviewers: [Astronauts](https://github.com/orgs/starship/teams/astronauts)
|
||||
- Approvers and Authors: [Mission Control](https://github.com/orgs/starship/teams/mission-control)
|
||||
|
||||
This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.
|
||||
|
||||
<p align="center">
|
||||
<br>
|
||||
|
Loading…
Reference in New Issue
Block a user