Chore!: bump sqlglot v30.2.1 (#5755) #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*.*.*' | |
| permissions: | |
| contents: write | |
| jobs: | |
| ui-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '20' | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: latest | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build UI | |
| run: pnpm --prefix web/client run build | |
| - name: Upload UI build artifact | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: ui-dist | |
| path: web/client/dist/ | |
| retention-days: 1 | |
| publish: | |
| needs: ui-build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Download UI build artifact | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: ui-dist | |
| path: web/client/dist/ | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.10' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install build dependencies | |
| run: pip install build twine setuptools_scm | |
| - name: Publish Python package | |
| run: make publish | |
| env: | |
| TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} | |
| TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} | |
| - name: Update pypirc for private repository | |
| run: ./.github/scripts/update-pypirc.sh | |
| env: | |
| TOBIKO_PRIVATE_PYPI_URL: ${{ secrets.TOBIKO_PRIVATE_PYPI_URL }} | |
| TOBIKO_PRIVATE_PYPI_KEY: ${{ secrets.TOBIKO_PRIVATE_PYPI_KEY }} | |
| - name: Publish Python Tests package | |
| run: unset TWINE_USERNAME TWINE_PASSWORD && make publish-tests | |
| gh-release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Create release on GitHub | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| generate_release_notes: true | |
| tag_name: ${{ github.ref_name }} |