OpenAstronomy / github-actions-workflows

Reusable workflows for GitHub Actions
https://github-actions-workflows.openastronomy.org
MIT License
18 stars 14 forks source link

How to handle already existing wheels for daily dev builds #63

Open astrofrog opened 2 years ago

astrofrog commented 2 years ago

Over at Astropy we are building nightly wheels - sometimes there are no changes from one day to the next so the anaconda upload fails with:

Creating release "5.2.dev275+g8ef58665f"
[303](https://github.com/astropy/astropy/runs/7442665386?check_suite_focus=true#step:6:304)
Uploading file "astropy/astropy/5.2.dev275+g8ef58665f/astropy-5.2.dev275+g8ef58665f-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl"
[304](https://github.com/astropy/astropy/runs/7442665386?check_suite_focus=true#step:6:305)
Distribution already exists. Please use the -i/--interactive or --force or --skip options or `anaconda remove astropy/astropy/5.2.dev275+g8ef58665f/astropy-5.2.dev275+g8ef58665f-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

What would be the best approach here?

Cadair commented 2 years ago

Skip them / not upload if they already exist?