-
-
Notifications
You must be signed in to change notification settings - Fork 27
37 lines (34 loc) · 1.04 KB
/
publish.yml
File metadata and controls
37 lines (34 loc) · 1.04 KB
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
35
36
37
name: Publish
on:
schedule:
# run every day at 4am UTC
- cron: '0 4 * * *'
workflow_dispatch:
pull_request:
push:
branches:
- main
tags:
- v*
jobs:
publish:
if: (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'Build wheels'))
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@e97344095b099e1d729fe97429078c9975921d8a # v2.6.2
secrets:
pypi_token: ${{ secrets.pypi_token }}
anaconda_token: ${{ secrets.anaconda_token }}
with:
targets: |
- cp3*-manylinux_x86_64
- cp3*-musllinux_x86_64
- cp3*-win32
- cp3*-win_amd64
- cp3*-macosx_x86_64
- cp3*-macosx_arm64
- target: cp3*-manylinux_aarch64
runs-on: ubuntu-24.04-arm
# Developer wheels
upload_to_anaconda: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
anaconda_user: astropy
anaconda_package: astropy-healpix
anaconda_keep_n_latest: 10