Skip to content

Commit 889a2ec

Browse files
authored
chore: Updates to CI workflows (#20)
1 parent 4f1703a commit 889a2ec

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182

183183
build-vegafusion-python-osx-64:
184184
if: inputs.build-all-platforms
185-
runs-on: macos-13
185+
runs-on: macos-15-intel
186186
steps:
187187
- name: Check out repository code
188188
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
@@ -214,7 +214,7 @@ jobs:
214214

215215
build-vegafusion-python-osx-arm64:
216216
if: inputs.build-all-platforms
217-
runs-on: macos-14
217+
runs-on: macos-15
218218
steps:
219219
- name: Check out repository code
220220
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0

.github/workflows/pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
permissions:
88
contents: read
9+
actions: write
910

1011
jobs:
1112
build-and-test:
@@ -14,3 +15,4 @@ jobs:
1415
build-all-platforms: false
1516
permissions:
1617
contents: read
18+
actions: write

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,29 @@ jobs:
1313
contents: read
1414
actions: write
1515

16+
attach-wheels-to-release:
17+
name: Attach wheels to GitHub Release
18+
runs-on: ubuntu-latest
19+
needs: [build-and-test]
20+
permissions:
21+
contents: write
22+
actions: read
23+
steps:
24+
- name: Download all wheel artifacts
25+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
26+
with:
27+
pattern: python-wheels-*
28+
path: wheels/
29+
merge-multiple: true
30+
- name: List downloaded wheels
31+
run: ls -lR wheels/
32+
- name: Upload wheels to release
33+
env:
34+
GH_TOKEN: ${{ github.token }}
35+
GH_REPO: ${{ github.repository }}
36+
run: |
37+
gh release upload ${{ github.ref_name }} wheels/* --clobber
38+
1639
publish-to-pypi:
1740
name: Publish Python wheels to PyPI
1841
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)