Skip to content

Remove concurrency on base job #5

Remove concurrency on base job

Remove concurrency on base job #5

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
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 }}