Skip to content

Commit a44afee

Browse files
Merge pull request #414 from JessicaTegner/jessica/cifix
Improvements to CI
2 parents c3afa88 + dbb1505 commit a44afee

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
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:
@@ -58,6 +58,8 @@ jobs:
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]

release.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ This is the internal checklist, so that @janschulz doesn't have to do another br
88
- tag the version: `git tag -a vx.x.x`, write a nice version message summarizing new features
99
- push directly to the repo: `git push; git push --tags`
1010
- celebrate :-)
11-

0 commit comments

Comments
 (0)