Skip to content

Add support for Python 3.12 wheel #278

Add support for Python 3.12 wheel

Add support for Python 3.12 wheel #278

Workflow file for this run

name: "Backport"
on:
pull_request_target:
types: [closed, labeled]
branches:
- main
jobs:
backport:
if: |
github.repository_owner == 'cupy' &&
github.event.pull_request.merged == true &&
(
(github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, 'to-be-backported')) ||
(github.event.action == 'labeled' && github.event.label.name == 'to-be-backported')
)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: setup backport
run: |
pip install pygithub
git config --global user.name "CuPy Automatic Backport"
git config --global user.email "[email protected]"
git clone https://github.com/cupy/backport.git
- name: run backport
env:
BACKPORT_GITHUB_TOKEN: ${{secrets.BACKPORT_TOKEN}}
run: |
cd backport
echo -e "machine github.com\nlogin chainer-ci\npassword ${{secrets.BACKPORT_TOKEN}}" > ~/.netrc
python backport.py --repo cupy-release-tools --pr ${{github.event.number}} --https --bot