-
Notifications
You must be signed in to change notification settings - Fork 79
34 lines (30 loc) · 1.12 KB
/
anaconda-prune.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: anaconda-prune
on:
schedule:
- cron: 45 1,7,13,19 * * *
pull_request:
paths:
- .github/workflows/anaconda-prune.yml
- .github/workflows/_prune-anaconda-packages.yml
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
cancel-in-progress: true
jobs:
anaconda-prune-pytorch-nightly:
name: anaconda-prune-pytorch-nightly
uses: ./.github/workflows/_prune-anaconda-packages.yml
with:
packages: "pytorch torchvision torchaudio torchtext torchdata ignite torchcsprng torchserve torcharrow"
channel: pytorch-nightly
secrets:
conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
anaconda-prune-pytorch-test:
name: anaconda-prune-pytorch-test
uses: ./.github/workflows/_prune-anaconda-packages.yml
needs: anaconda-prune-pytorch-nightly
with:
packages: "pytorch torchvision torchaudio torchtext torchdata ignite torchcsprng"
channel: pytorch-test
secrets:
conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}