diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 555965e..45800b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -71,4 +71,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: cortex.python-runtime-${{ matrix.os }}-${{ matrix.name }} - path: ./cortex.python-runtime + path: ./cortex.python-runtime.tar.gz diff --git a/Makefile b/Makefile index aaeff0c..fc70775 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ endif package: ifeq ($(OS),Windows_NT) - @powershell -Command "New-Item -ItemType Directory -Path cortex.python-runtime -Force; cp build\\Release\\engine.dll cortex.python-runtime\\; cp -r build\\Release\\python cortex.python-runtime; Compress-Archive -Path cortex.python-runtime\\* -DestinationPath cortex.python-runtime.zip;" + @powershell -Command "mkdir -p cortex.python-runtime; cp build\Release\engine.dll cortex.python-runtime\; cp -r build\Release\python cortex.python-runtime\; 7z a -ttar temp.tar cortex.python-runtime\*; 7z a -tgzip cortex.python-runtime.tar.gz temp.tar;" else @mkdir -p cortex.python-runtime && \ cp build/libengine.$(shell uname | tr '[:upper:]' '[:lower:]' | sed 's/darwin/dylib/;s/linux/so/') cortex.python-runtime && \