From 46f456f7a847d425c22d674b016eb66764872e1b Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Fri, 9 Aug 2024 13:37:03 +0100 Subject: [PATCH] Add publishing of developer wheels to anaconda.org --- .github/workflows/publish.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b9736a311..78868160f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -63,5 +63,12 @@ jobs: - cp311*win_amd64 - cp312*win_amd64 + # Developer wheels + upload_to_anaconda: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }} + anaconda_user: astropy + anaconda_package: photutils + anaconda_keep_n_latest: 10 + secrets: pypi_token: ${{ secrets.pypi_token }} + anaconda_token: ${{ secrets.anaconda_token }}