File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 5
5
branches : [ "master" ]
6
6
# Publish pep440 tags as releases.
7
7
tags : [ '*.*.*' ]
8
+ pull_request :
8
9
9
10
env :
10
11
# Use docker.io for Docker Hub if empty
89
90
- linux/arm/v7
90
91
- linux/arm64
91
92
exclude :
92
- # Only build packages for ARMv6 and ARMv7 for tagged releases
93
- - platform : ${{ startsWith(github.ref, 'refs/tags/') && 'nothing' || 'linux/arm/v6' }}
94
- - platform : ${{ startsWith(github.ref, 'refs/tags/') && 'nothing' || 'linux/arm/v7' }}
93
+ # Only build packages for ARMv6 and ARMv7 for tagged releases or pull requests
94
+ - platform : ${{ startsWith(github.ref, 'refs/tags/') && 'nothing' || ${{ github.event_name == 'pull_request' }} && 'nothing' || 'linux/arm/v6' }}
95
+ - platform : ${{ startsWith(github.ref, 'refs/tags/') && 'nothing' || ${{ github.event_name == 'pull_request' }} && 'nothing' || 'linux/arm/v7' }}
95
96
steps :
96
97
- name : Checkout repository
97
98
uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments