Skip to content

Commit

Permalink
SNOW-1055755: store artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mraba committed Jul 29, 2024
1 parent c26f670 commit 56c8736
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/packaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
2 changes: 1 addition & 1 deletion snow.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ a = Analysis(
['src/snowflake/cli/app/__main__.py'],
pathex=[],
binaries=[],
datas=[],
datas=[('src/snowflake', 'snowflake')],
hiddenimports=[],
hookspath=[],
hooksconfig={},
Expand Down

0 comments on commit 56c8736

Please sign in to comment.