CI: fix Windows build upload workaround

Used msys/curl instead of clang64/mingw-w64-clang-x86_64-curl for the
upload.

For whatever reason, the other curl variant ceased to collaborate with
GitHub, see failed run (and subsequent ones):

    https://github.com/CESNET/UltraGrid/actions/runs/4223917061/jobs/7334218587

I didn't manage to reproduce it on a local Windows machine so there is
perhaps some hidden factor present.

This change is just a workaround and should be removed when not needed.
This commit is contained in:
Martin Pulec
2023-02-20 14:37:50 +01:00
parent 240f512b7e
commit 4e43d566fd

View File

@@ -332,6 +332,7 @@ jobs:
if: (github.repository == 'CESNET/UltraGrid' && github.ref == 'refs/heads/master') || startsWith(github.ref, 'refs/tags/')
run: |
C:\msys64\usr\bin\bash -cel 'cd build; zip -9 -r UltraGrid-$VERSION-win64.zip UltraGrid-$VERSION-win64
PATH=/usr/bin:$PATH # TOREMOVE when not needed (see git commit message)
$GITHUB_WORKSPACE/.github/scripts/replace-asset.sh $TAG UltraGrid-$VERSION-win64.zip application/zip Windows%20build'
- name: Upload Build
if: steps.upload-release.conclusion == 'skipped'