mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-20 06:49:25 +00:00
* chore(deps): bump the actions group across 1 directory with 2 updates Bumps the actions group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance). Updates `actions/checkout` from 1 to 5 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v1...v5) Updates `actions/attest-build-provenance` from 2 to 3 - [Release notes](https://github.com/actions/attest-build-provenance/releases) - [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md) - [Commits](https://github.com/actions/attest-build-provenance/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/attest-build-provenance dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> * Update .github/workflows/ci.yml --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.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@v5
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v6
|
|
|
|
- name: Build SDist and wheels
|
|
run: |
|
|
uv tool install nox
|
|
nox -s build
|
|
nox -s build_global
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
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@v5
|
|
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@b36e8c0c10dbcfd2e05bf95f17ef8c14fd708dbf # 0.6.2
|
|
with:
|
|
artifacts_path: dist
|
|
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}
|