Safely check runs #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload nightly wheels to Anaconda Cloud | |
on: | |
push: | |
# Run daily at 1:23 UTC | |
schedule: | |
- cron: '23 1 * * *' | |
# Run on demand with workflow dispatch | |
workflow_dispatch: | |
permissions: | |
actions: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
upload_nightly_wheels: | |
name: Upload nightly wheels to Anaconda Cloud | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'scikit-hep' | |
steps: | |
- name: Build wheel | |
uses: ./.github/workflows/build-distributions.yml | |
- name: list dist | |
run: ls -lha dist/ | |
# - name: Upload wheel to Anaconda Cloud as nightly | |
# uses: scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc # 0.5.0 | |
# with: | |
# artifacts_path: dist | |
# anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }} |