mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-25 23:34:59 +00:00
Bumps the actions group with 2 updates: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) and [scientific-python/upload-nightly-action](https://github.com/scientific-python/upload-nightly-action).
Updates `astral-sh/setup-uv` from 8.0.0 to 8.1.0
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](https://github.com/astral-sh/setup-uv/compare/v8.0.0...v8.1.0)
Updates `scientific-python/upload-nightly-action` from 0.6.3 to 0.6.4
- [Release notes](https://github.com/scientific-python/upload-nightly-action/releases)
- [Commits](5748273c71...e76cfec8a4)
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: 8.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: actions
- dependency-name: scientific-python/upload-nightly-action
dependency-version: 0.6.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
60 lines
1.5 KiB
YAML
60 lines
1.5 KiB
YAML
name: Upload nightly wheels to Anaconda Cloud
|
|
|
|
on:
|
|
# Run daily at 2:34 UTC to upload nightly wheels to Anaconda Cloud
|
|
schedule:
|
|
- cron: "34 2 * * *"
|
|
# Run on demand with workflow dispatch
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
actions: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build_wheel:
|
|
name: Build and upload wheel
|
|
if: github.repository_owner == 'pybind'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v8.1.0
|
|
|
|
- name: Build SDist and wheels
|
|
run: |
|
|
uv tool install nox
|
|
nox -s build
|
|
nox -s build_global
|
|
|
|
- uses: actions/upload-artifact@v7
|
|
with:
|
|
name: Packages
|
|
path: dist/*
|
|
|
|
upload_nightly_wheels:
|
|
name: Upload nightly wheels to Anaconda Cloud
|
|
if: github.repository_owner == 'pybind'
|
|
needs: [build_wheel]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/download-artifact@v8
|
|
with:
|
|
name: Packages
|
|
path: dist
|
|
|
|
- name: List wheel to be deployed
|
|
run: ls -lha dist/*.whl
|
|
|
|
- name: Upload wheel to Anaconda Cloud as nightly
|
|
uses: scientific-python/upload-nightly-action@e76cfec8a4611fd02808a801b0ff5a7d7c1b2d99 # 0.6.4
|
|
with:
|
|
artifacts_path: dist
|
|
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}
|