diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml deleted file mode 100644 index ec55ee60b7..0000000000 --- a/.github/workflows/publish.yaml +++ /dev/null @@ -1,32 +0,0 @@ -name: Upload Python Package - -on: - release: - types: [published] - -permissions: - contents: read - -jobs: - deploy: - environment: release - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - with: - persist-credentials: false - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: "3.11" - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install hatch - - name: Build package - run: sh ${{ github.workspace }}/.compat/build_snowflake-cli-labs.sh - - name: Publish package - run: | - cd ${{ github.workspace }}./compat/snowflake-cli-labs/ - python -m hatch publish -u __token__ -a ${{ secrets.PYPI_TOKEN }}