Skip to content

Commit a577d25

Browse files
Revert "use full path in ARTIFACT_PATH"
This reverts commit 1bef020.
1 parent 1bef020 commit a577d25

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -432,11 +432,10 @@ jobs:
432432
path: ${{ env.BUILD_ARTIFACTS_PATH }}
433433

434434
- name: Save artifact path to variable
435-
shell: bash
436435
run: |
437-
ARTIFACT=$(find "${{ env.BUILD_ARTIFACTS_PATH }}" -name "*Windows_64bit.exe" | head -n 1)
438-
FULL_PATH=$(cygpath -w $ARTIFACT)
439-
echo "ARTIFACT_PATH=$FULL_PATH" >> $GITHUB_ENV
436+
# Find the artifact ending with 'Windows_64bit.exe' in the specified download directory
437+
ARTIFACT_PATH=$(find ${{ env.BUILD_ARTIFACTS_PATH }} -name "*Windows_64bit.exe")
438+
echo "ARTIFACT_PATH=${ARTIFACT_PATH}" >> $GITHUB_ENV
440439
441440
- name: Save Win signing certificate to file
442441
run: echo "${{ secrets.INSTALLER_CERT_WINDOWS_CER }}" | base64 --decode > ${{ env.INSTALLER_CERT_WINDOWS_CER }}

0 commit comments

Comments
 (0)