Skip to content

Commit 7b1f54c

Browse files
authored
[skip ci][SignPath CI] Switch signed artifact store folder to runner.temp (#789)
[SignPath CI] Switch signed artifact store folder to runner.temp
1 parent 04a6f4a commit 7b1f54c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release-signed.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ jobs:
133133
github-artifact-id: '${{ steps.upload-unsigned-artifact.outputs.artifact-id }}'
134134
wait-for-completion: true
135135
wait-for-completion-timeout-in-seconds: 1200
136-
output-artifact-directory: '/SignedArtifact/'
136+
output-artifact-directory: '${{ runner.temp }}/SignedArtifact/'
137137
artifact-configuration-slug: ${{ env.SIGNPATH_ARTIFACT_SLUG}}
138138

139139
- name: Process Signed Build
140140
run: |
141-
$buildDir = '.\SignedArtifact\BuildArtifact-${{ env.VERSION }}'
141+
$buildDir = '${{ runner.temp }}\SignedArtifact\BuildArtifact-${{ env.VERSION }}'
142142
echo "Re-checking build version"
143143
$versionFinal = ((Get-Item $buildDir\CollapseLauncher.exe).VersionInfo.FileVersion)
144144
if ($versionFinal.EndsWith(".0")) {
@@ -149,7 +149,7 @@ jobs:
149149
150150
- name: Verify Signed Artifacts
151151
run: |
152-
$buildDir = '.\SignedArtifact\BuildArtifact-${{ env.VERSION }}'
152+
$buildDir = '${{ runner.temp }}\SignedArtifact\BuildArtifact-${{ env.VERSION }}'
153153
$files = Get-ChildItem -Path "$buildDir" -Recurse -Include "*.exe","*.dll"
154154
foreach ($file in $files) {
155155
$signature = Get-AuthenticodeSignature $file.FullName
@@ -163,7 +163,7 @@ jobs:
163163
uses: actions/upload-artifact@v4
164164
with:
165165
name: SIGNED_collapse-v${{ env.VERSION }}_${{ env.SIGNING_POLICY_SLUG }}-${{ env.CONFIGURATION_STRATEGY }}_${{ env.PUBLISH_PROFILE }}
166-
path: ./SignedArtifact
166+
path: ${{ runner.temp }}/SignedArtifact
167167
compression-level: 9
168168

169169
- name: Final Notify Discord

0 commit comments

Comments
 (0)