Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.

Commit 903217a

Browse files
committed
Use tar.gz, tar on GitHub Actions / Windows has issues with bzip2
1 parent 2ad89fe commit 903217a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

scripts/build-codecs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ extract() {
3333

3434
if [ "`uname`" = "Linux" ]; then
3535
outputdir=/output
36-
outputfile=$outputdir/codecs-manylinux_$(uname -m).tar.bz2
36+
outputfile=$outputdir/codecs-manylinux_$(uname -m).tar.gz
3737
elif [ "`uname`" = "Darwin" ]; then
3838
outputdir=`pwd`/output
39-
outputfile=$outputdir/codecs-macosx_$(uname -m).tar.bz2
39+
outputfile=$outputdir/codecs-macosx_$(uname -m).tar.gz
4040
else
4141
echo "Unknown platform"
4242
exit 1
@@ -64,5 +64,5 @@ if [ ! -e $outputfile ]; then
6464
make install
6565
cd ..
6666

67-
tar cjvf $outputfile -C $destdir include lib
67+
tar czvf $outputfile -C $destdir include lib
6868
fi

scripts/build-codecs.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set destdir=%1
22

3-
set outputfile=output\codecs-win%PYTHON_ARCH%.tar.bz2
3+
set outputfile=output\codecs-win%PYTHON_ARCH%.tar.gz
44
if "%PYTHON_ARCH%" == "64" (
55
set triplet=x64-windows-static
66
) else (
@@ -21,4 +21,4 @@ xcopy C:\vcpkg\installed\%triplet%\lib %destdir%\lib\ /E
2121
if not exist output (
2222
mkdir output
2323
)
24-
tar cjvf %outputfile% -C %destdir% include lib
24+
tar czvf %outputfile% -C %destdir% include lib

0 commit comments

Comments
 (0)