Skip to content

Merge branch 'bump-python-continuous-profiling-v1.2.5-ab22' into 'main' #1

Merge branch 'bump-python-continuous-profiling-v1.2.5-ab22' into 'main'

Merge branch 'bump-python-continuous-profiling-v1.2.5-ab22' into 'main' #1

Workflow file for this run

name: release prod
on:
push:
tags:
- 'v*'
jobs:
test:
name: Test (${{ matrix.version }})
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- run: |
PYTHON_VERSION=${{ matrix.version }} make test
strategy:
fail-fast: false
matrix:
version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
gen-binary:
name: Gen Binary - Linux - AMD64
runs-on: ubuntu-latest
needs: test
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- run: |
make build
- name: upload artifacts
uses: actions/upload-artifact@v4
with:
name: wheel_dist
path: |
wheel_dist/*
release:
name: Release
runs-on: ubuntu-latest
needs: gen-binary
steps:
- uses: actions/checkout@v5
- name: Download build artifacts
uses: actions/download-artifact@v5
- run: |
./scripts/release.sh wheel_dist
env:
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}