diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f289ed8eb..fc7e3aaee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -127,6 +127,7 @@ jobs: - name: Sign | Upload [Windows] continue-on-error: true if: matrix.os == 'windows-latest' + id: unsigned-artifacts uses: actions/upload-artifact@v4 with: name: unsigned-${{ matrix.name }} @@ -143,7 +144,7 @@ jobs: organization-id: '${{ vars.SIGNPATH_ORGANIZATION_ID }}' project-slug: 'starship' signing-policy-slug: 'test-signing' - github-artifact-name: 'unsigned-${{ matrix.name }}' + github-artifact-id: '${{ steps.unsigned-artifacts.outputs.artifact-id }}' wait-for-completion: false # TODO use release-signing certificate: # signing-policy-slug: 'release-signing' diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 280ec8e8f..3736e64d4 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -224,6 +224,7 @@ jobs: - name: Sign | Upload Executable [Windows] uses: actions/upload-artifact@v4 continue-on-error: true + id: unsigned-artifacts if: matrix.os == 'windows-latest' && matrix.rust == 'stable' && github.event_name == 'push' && github.repository == 'starship/starship' with: name: unsigned-artifacts-dbg @@ -239,7 +240,7 @@ jobs: api-token: '${{ secrets.SIGNPATH_API_TOKEN }}' organization-id: '${{ vars.SIGNPATH_ORGANIZATION_ID }}' project-slug: 'starship' - github-artifact-name: 'unsigned-artifacts-dbg' + github-artifact-id: '${{ steps.unsigned-artifacts.outputs.artifact-id }}' signing-policy-slug: 'test-signing' wait-for-completion: true output-artifact-directory: target/debug