Skip to content

Commit bafcb17

Browse files
authored
chore(dev): fix benchmark CI about py-binding artifact (#211)
Previously, the glob patterns used to handle the py-binding artifacts were not concise enough to identify the CPython wheel. This resulted in incorrectly trying to install the PyPy wheel that was uploaded with the CPython wheel as build artifacts.
1 parent b15dcfe commit bafcb17

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/benchmark.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ jobs:
9393
uses: actions/upload-artifact@v5
9494
with:
9595
name: wheel
96-
path: dist/*
96+
path: dist/cpp_linter-*-cp3*-abi3-*.whl
97+
if-no-files-found: error
9798

9899
benchmark:
99100
name: Measure Performance Difference
@@ -132,7 +133,7 @@ jobs:
132133
shell: nu {0}
133134
run: |-
134135
let new_py = (
135-
glob "../wheel/cpp_linter-*.whl"
136+
glob "../wheel/cpp_linter-*-cp3*-abi3-*.whl"
136137
| first
137138
| path expand
138139
)

0 commit comments

Comments
 (0)