Skip to content

Commit 73fb782

Browse files
committed
Merge branch 'main' into preview
2 parents 1cea69a + 7b1f54c commit 73fb782

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/release-signed.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,20 +124,21 @@ jobs:
124124
For core maintainers, go to SignPath to sign the build!
125125
126126
- name: Sign Build Artifact with SignPath
127-
uses: signpath/github-action-submit-signing-request@v1.1
127+
uses: signpath/github-action-submit-signing-request@v1.3
128128
with:
129129
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
130130
organization-id: ${{ secrets.SIGNPATH_ORG_ID }}
131131
project-slug: 'Collapse'
132132
signing-policy-slug: ${{ env.SIGNING_POLICY_SLUG }}
133133
github-artifact-id: '${{ steps.upload-unsigned-artifact.outputs.artifact-id }}'
134134
wait-for-completion: true
135-
output-artifact-directory: '/SignedArtifact/'
135+
wait-for-completion-timeout-in-seconds: 1200
136+
output-artifact-directory: '${{ runner.temp }}/SignedArtifact/'
136137
artifact-configuration-slug: ${{ env.SIGNPATH_ARTIFACT_SLUG}}
137138

138139
- name: Process Signed Build
139140
run: |
140-
$buildDir = '.\SignedArtifact\BuildArtifact-${{ env.VERSION }}'
141+
$buildDir = '${{ runner.temp }}\SignedArtifact\BuildArtifact-${{ env.VERSION }}'
141142
echo "Re-checking build version"
142143
$versionFinal = ((Get-Item $buildDir\CollapseLauncher.exe).VersionInfo.FileVersion)
143144
if ($versionFinal.EndsWith(".0")) {
@@ -148,7 +149,7 @@ jobs:
148149
149150
- name: Verify Signed Artifacts
150151
run: |
151-
$buildDir = '.\SignedArtifact\BuildArtifact-${{ env.VERSION }}'
152+
$buildDir = '${{ runner.temp }}\SignedArtifact\BuildArtifact-${{ env.VERSION }}'
152153
$files = Get-ChildItem -Path "$buildDir" -Recurse -Include "*.exe","*.dll"
153154
foreach ($file in $files) {
154155
$signature = Get-AuthenticodeSignature $file.FullName
@@ -162,7 +163,7 @@ jobs:
162163
uses: actions/upload-artifact@v4
163164
with:
164165
name: SIGNED_collapse-v${{ env.VERSION }}_${{ env.SIGNING_POLICY_SLUG }}-${{ env.CONFIGURATION_STRATEGY }}_${{ env.PUBLISH_PROFILE }}
165-
path: ./SignedArtifact
166+
path: ${{ runner.temp }}/SignedArtifact
166167
compression-level: 9
167168

168169
- name: Final Notify Discord

0 commit comments

Comments
 (0)