2222 strategy :
2323 fail-fast : true
2424 matrix :
25- os : [ubuntu-22.04, ubuntu-22.04-arm, ubuntu-24.04, ubuntu-24.04-arm, macos-15, macos-15-large, macos-14, macos-14-large , windows-2025, windows-2022]
25+ os : [ubuntu-22.04, ubuntu-22.04-arm, ubuntu-24.04, ubuntu-24.04-arm, macos-15, macos-14 , windows-2025, windows-2022]
2626 python-version : [ "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.15.0-alpha.1", "pypy3.10", "pypy3.11", ]
2727 runs-on : ${{ matrix.os }}
2828 steps :
5858 builder_pypandoc :
5959 needs : [test]
6060 runs-on : ubuntu-latest # Any OS is fine as this wheel is not OS dependent
61+ # only run on tagged commits and master branch
62+ if : startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master'
6163 steps :
6264 - name : Check out repository
6365 uses : actions/checkout@v4
@@ -75,13 +77,15 @@ jobs:
7577 with :
7678 name : pypandoc-distributions
7779 path : dist/
80+ retention-days : 1
7881
7982 builder_pypandoc_binary :
8083 needs : [test]
8184 strategy :
8285 matrix :
83- os : [macos-14, macos-14-large , windows-2022, ubuntu-22.04, ubuntu-22.04-arm]
86+ os : [macos-15 , windows-2022, ubuntu-22.04, ubuntu-22.04-arm]
8487 runs-on : ${{ matrix.os }}
88+ if : startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master'
8589 steps :
8690 - name : Check out repository
8791 uses : actions/checkout@v4
@@ -107,6 +111,7 @@ jobs:
107111 with :
108112 name : pypandoc-binary-${{ matrix.os }}-distributions
109113 path : wheelhouse/
114+ retention-days : 1
110115
111116 publisher_release :
112117 needs : [builder_pypandoc, builder_pypandoc_binary]
0 commit comments