From 56c873606f7f268f18c006360e5918f981ffe7ca Mon Sep 17 00:00:00 2001 From: Marcin Raba Date: Tue, 23 Jul 2024 17:22:59 +0200 Subject: [PATCH] SNOW-1055755: store artifacts --- .github/workflows/packaging.yaml | 12 ++++++++---- snow.spec | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) 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={},