Skip to content

Commit

Permalink
CI: Fix GitHub Actions package fail during artifact extraction
Browse files Browse the repository at this point in the history
With both Windows artifacts being zip-based, the unzip command needs
to be allowed to overwrite the VERSION file contained in both.
  • Loading branch information
PatTheMav committed Jan 11, 2024
1 parent 4bf46bb commit e4e0ccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ jobs:
for artifact in ${GITHUB_WORKSPACE}/**/windows-@(deps|ffmpeg)-!(qt6*)-${arch}.*; do
case ${artifact} in
*.zip) unzip ${artifact} > /dev/null ;;
*.zip) unzip -o ${artifact} > /dev/null ;;
*.tar.xz) XZ_OPT=-T0 tar -xJf ${artifact} ;;
*.tar.gz) tar -xzf ${artifact} ;;
esac
Expand All @@ -629,7 +629,7 @@ jobs:
for artifact in ${GITHUB_WORKSPACE}/**/macos-@(deps|ffmpeg)-!(qt6*)-${arch}.*; do
case ${artifact} in
*.zip) unzip ${artifact} > /dev/null ;;
*.zip) unzip -o ${artifact} > /dev/null ;;
*.tar.xz) XZ_OPT=-T0 tar -xvJf ${artifact} ;;
*.tar.gz) tar -xvzf ${artifact} ;;
esac
Expand Down

0 comments on commit e4e0ccb

Please sign in to comment.