1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-11 21:57:52 +00:00

chore(deps): handle signpath update (#6000)

This commit is contained in:
David Knaack 2024-06-22 09:53:21 +02:00 committed by GitHub
parent aa05a1e5ab
commit a1c50be2a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -127,6 +127,7 @@ jobs:
- name: Sign | Upload [Windows] - name: Sign | Upload [Windows]
continue-on-error: true continue-on-error: true
if: matrix.os == 'windows-latest' if: matrix.os == 'windows-latest'
id: unsigned-artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: unsigned-${{ matrix.name }} name: unsigned-${{ matrix.name }}
@ -143,7 +144,7 @@ jobs:
organization-id: '${{ vars.SIGNPATH_ORGANIZATION_ID }}' organization-id: '${{ vars.SIGNPATH_ORGANIZATION_ID }}'
project-slug: 'starship' project-slug: 'starship'
signing-policy-slug: 'test-signing' signing-policy-slug: 'test-signing'
github-artifact-name: 'unsigned-${{ matrix.name }}' github-artifact-id: '${{ steps.unsigned-artifacts.outputs.artifact-id }}'
wait-for-completion: false wait-for-completion: false
# TODO use release-signing certificate: # TODO use release-signing certificate:
# signing-policy-slug: 'release-signing' # signing-policy-slug: 'release-signing'

View File

@ -224,6 +224,7 @@ jobs:
- name: Sign | Upload Executable [Windows] - name: Sign | Upload Executable [Windows]
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
continue-on-error: true continue-on-error: true
id: unsigned-artifacts
if: matrix.os == 'windows-latest' && matrix.rust == 'stable' && github.event_name == 'push' && github.repository == 'starship/starship' if: matrix.os == 'windows-latest' && matrix.rust == 'stable' && github.event_name == 'push' && github.repository == 'starship/starship'
with: with:
name: unsigned-artifacts-dbg name: unsigned-artifacts-dbg
@ -239,7 +240,7 @@ jobs:
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}' api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
organization-id: '${{ vars.SIGNPATH_ORGANIZATION_ID }}' organization-id: '${{ vars.SIGNPATH_ORGANIZATION_ID }}'
project-slug: 'starship' project-slug: 'starship'
github-artifact-name: 'unsigned-artifacts-dbg' github-artifact-id: '${{ steps.unsigned-artifacts.outputs.artifact-id }}'
signing-policy-slug: 'test-signing' signing-policy-slug: 'test-signing'
wait-for-completion: true wait-for-completion: true
output-artifact-directory: target/debug output-artifact-directory: target/debug