Skip to content

workflows are jobs

workflows are jobs #3

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:
build_wheel:
name: Build and upload wheel
uses: .github/workflows/build-distributions.yml

Check failure on line 22 in .github/workflows/upload-nightly-wheels.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/upload-nightly-wheels.yml

Invalid workflow file

invalid value workflow reference: no version specified
upload_nightly_wheels:
name: Upload nightly wheels to Anaconda Cloud
needs: [build_wheel]
runs-on: ubuntu-latest
if: github.repository_owner == 'scikit-hep'
steps:
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
- 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 }}