Skip to content

ci: Use UV_PYTHON to set python version in tests (#714) #570

ci: Use UV_PYTHON to set python version in tests (#714)

ci: Use UV_PYTHON to set python version in tests (#714) #570

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
Release:
# prevents this action from running on forks
if: github.repository == 'manzt/anywidget'
runs-on: macos-14
permissions:
id-token: write
contents: write
packages: write
pull-requests: write
issues: read
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
run_install: true
- uses: astral-sh/setup-uv@v3
with:
version: "0.4.x"
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_API_KEY }}