Skip to content

Bump qs from 6.14.1 to 6.14.2 in /contrib/kernel_analyzer (#1150) #2

Bump qs from 6.14.1 to 6.14.2 in /contrib/kernel_analyzer (#1150)

Bump qs from 6.14.1 to 6.14.2 in /contrib/kernel_analyzer (#1150) #2

Workflow file for this run

# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: pypi
on:
push:
tags: "v*"
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write # Needed to create releases
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: "3.13"
- name: Get release version
id: get_version
run: |
echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
- name: Create Release
id: create_release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body: See the [changelog](https://mujoco.readthedocs.io/en/${{ steps.get_version.outputs.version }}/changelog.html).
draft: false
prerelease: false
- name: Install dependencies
run: |
pip install uv
uv pip install --system build twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m build
twine upload dist/*