Skip to content

Commit

Permalink
Try to add workflow to publish nightlies
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Oct 22, 2024
1 parent 314cc49 commit 5045e72
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: nightly build and upload
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"

defaults:
run:
shell: bash -eux {0}

jobs:
build:
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Build
run: |
python -m build
- name: Upload wheel
uses: scientific-python/upload-nightly-action@82396a2ed4269ba06c6b2988bb4fd568ef3c3d6b # 0.6.1
with:
artifacts_path: dist
anaconda_nightly_upload_token: ${{secrets.UPLOAD_TOKEN}}

0 comments on commit 5045e72

Please sign in to comment.