Skip to content

Commit

Permalink
Upload vcpkg logs as artifact in case of vcpkg installation failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
ni4 authored and maxirmx committed Aug 22, 2024
1 parent e3662a7 commit 13d0294
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/windows-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,15 @@ jobs:
echo "VCPKG_DIR_U=$dir_u" >> $GITHUB_ENV
vcpkg install --triplet ${{ matrix.arch.triplet }} bzip2 zlib json-c getopt dirent ${{ matrix.backend }}
- name: Upload vcpkg logs on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: vcpkg-error-logs
path: |
C:\vcpkg\buildtrees\*\*.log
C:\vcpkg\installed\vcpkg\issue_body.md
- name: Set OPENSSL_ROOT_DIR
# Ensure consistent access to openssl installation for test_backend_version test
# There is another one instance of ssl at /mingw and /mingw/bin is always at the first position at PATH
Expand Down

0 comments on commit 13d0294

Please sign in to comment.