From 9230856d6f30db1922a8a44e7a4e54a912cf4e18 Mon Sep 17 00:00:00 2001 From: Andrew Truong Date: Wed, 9 Oct 2024 14:32:29 -0400 Subject: [PATCH] chore(weave): Update release action #2642 --- .github/workflows/release.yaml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c2bf816d701..e7c7c075ee0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,17 +22,12 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions/setup-node@v1 - with: - node-version: '18.x' - - run: | - pip install build twine - ./build_dist.py - if [[ -n "$(git status weave_query/weave_query/frontend/sha1.txt --porcelain)" ]] - then - echo "::error cannot publish release, commited SHA does not match build SHA" - exit 1 - fi + - name: Install uv + run: | + pip install uv + - name: Build dist + run: | + uv build - name: upload test distribution uses: pypa/gh-action-pypi-publish@release/v1 if: ${{ inputs.is_test }}