We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ARTIFACT_PATH
1 parent 758c671 commit 1bef020Copy full SHA for 1bef020
.github/workflows/build.yml
@@ -432,10 +432,11 @@ jobs:
432
path: ${{ env.BUILD_ARTIFACTS_PATH }}
433
434
- name: Save artifact path to variable
435
+ shell: bash
436
run: |
- # 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
+ ARTIFACT=$(find "${{ env.BUILD_ARTIFACTS_PATH }}" -name "*Windows_64bit.exe" | head -n 1)
+ FULL_PATH=$(cygpath -w $ARTIFACT)
439
+ echo "ARTIFACT_PATH=$FULL_PATH" >> $GITHUB_ENV
440
441
- name: Save Win signing certificate to file
442
run: echo "${{ secrets.INSTALLER_CERT_WINDOWS_CER }}" | base64 --decode > ${{ env.INSTALLER_CERT_WINDOWS_CER }}
0 commit comments