Skip to content

Validate installer cache against current context #924

Validate installer cache against current context

Validate installer cache against current context #924

Workflow file for this run

name: Release
on:
push:
branches:
- main
workflow_dispatch:
inputs:
release_sha:
description: Full commit SHA on main to release
required: true
type: string
permissions:
actions: read
contents: write
id-token: write
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'
concurrency:
group: release-main
cancel-in-progress: false
jobs:
publish:
runs-on: ubuntu-24.04
environment: pypi
env:
RELEASE_SHA: ${{ github.event_name == 'push' && github.sha || inputs.release_sha }}
RELEASE_BRANCH: main
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
with:
fetch-depth: 0
ref: ${{ env.RELEASE_SHA }}
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: '3.12'
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
with:
version: "0.10.6"
enable-cache: true
- name: Publish tested commit
env:
GH_TOKEN: ${{ secrets.RELEASE_GH_TOKEN || github.token }}
run: ./bin/release.sh