Skip to content

Commit 500f759

Browse files
Use newer version of checkout action to use Node 16
1 parent 8c84e2a commit 500f759

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

.github/workflows/conda-package.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -393,36 +393,6 @@ jobs:
393393
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
394394
run: anaconda --token ${{ env.ANACONDA_TOKEN }} upload --user dppy --label dev ${{ env.PACKAGE_NAME }}-*.whl --version ${{ env.PACKAGE_VERSION }}
395395

396-
cleanup_packages:
397-
name: Clean up anaconda packages
398-
needs: [upload_linux, upload_windows]
399-
runs-on: 'ubuntu-latest'
400-
defaults:
401-
run:
402-
shell: bash -el {0}
403-
steps:
404-
- uses: conda-incubator/setup-miniconda@v2
405-
with:
406-
run-post: false
407-
channel-priority: "disabled"
408-
channels: conda-forge
409-
python-version: '3.11'
410-
411-
- name: Install anaconda-client
412-
run: conda install anaconda-client
413-
414-
- name: Checkout repo
415-
uses: actions/checkout@v2
416-
with:
417-
repository: IntelPython/devops-tools
418-
fetch-depth: 0
419-
420-
- name: Cleanup old packages
421-
run: |
422-
python scripts/cleanup-old-packages.py \
423-
--verbose --force --token ${{ secrets.ANACONDA_TOKEN }} \
424-
--package dppy/${{ env.PACKAGE_NAME }} --label dev
425-
426396
test_examples_linux:
427397
needs: build_linux
428398
runs-on: ${{ matrix.runner }}
@@ -700,3 +670,33 @@ jobs:
700670
allow-repeats: true
701671
repo-token: ${{ secrets.GITHUB_TOKEN }}
702672
repo-token-user-login: 'github-actions[bot]'
673+
674+
cleanup_packages:
675+
name: Clean up anaconda packages
676+
needs: [upload_linux, upload_windows]
677+
runs-on: 'ubuntu-latest'
678+
defaults:
679+
run:
680+
shell: bash -el {0}
681+
steps:
682+
- uses: conda-incubator/setup-miniconda@v2
683+
with:
684+
run-post: false
685+
channel-priority: "disabled"
686+
channels: conda-forge
687+
python-version: '3.11'
688+
689+
- name: Install anaconda-client
690+
run: conda install anaconda-client
691+
692+
- name: Checkout repo
693+
uses: actions/checkout@v3
694+
with:
695+
repository: IntelPython/devops-tools
696+
fetch-depth: 0
697+
698+
- name: Cleanup old packages
699+
run: |
700+
python scripts/cleanup-old-packages.py \
701+
--verbose --force --token ${{ secrets.ANACONDA_TOKEN }} \
702+
--package dppy/${{ env.PACKAGE_NAME }} --label dev

0 commit comments

Comments
 (0)