Merge pull request #297 from plotly/update-dash-ag-grid #1
Workflow file for this run
This file contains 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: Generate release | |
on: | |
push: | |
tags: | |
- "v*" | |
workflow_dispatch: | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "v18.16.0" | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Setup uv | |
run: | | |
curl -LsSf https://astral.sh/uv/install.sh | sh | |
uv venv | |
shell: bash | |
- name: Generate distribution | |
run: | | |
source .venv/bin/activate | |
npm i | |
npm run dist | |
npm pack && mv *.tgz dist/ | |
shell: bash | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "dist/*.whl,dist/*.tar.gz" | |
draft: true |