diff --git a/.github/workflows/packaging.yaml b/.github/workflows/packaging.yaml index 0f7709ffd6..06f93b3758 100644 --- a/.github/workflows/packaging.yaml +++ b/.github/workflows/packaging.yaml @@ -37,7 +37,11 @@ jobs: python -m pip install -U pip hatch uv hatch env create packaging - name: Build linux binary package - run: | - hatch run packaging:build - cd ./dist/snow/ - zip -g ../../snow-${{ github.sha }}-${{ matrix.os }}.zip -r + run: hatch run packaging:build + - name: Upload package + uses: actions/upload-artifact@v4 + with: + name: snow-${{ matrix.os }} + path: | + dist/ + build/ diff --git a/snow.spec b/snow.spec index c419d6354c..3e1f131ce5 100644 --- a/snow.spec +++ b/snow.spec @@ -5,7 +5,7 @@ a = Analysis( ['src/snowflake/cli/app/__main__.py'], pathex=[], binaries=[], - datas=[], + datas=[('src/snowflake', 'snowflake')], hiddenimports=[], hookspath=[], hooksconfig={},