Skip to content

Commit a740ba4

Browse files
committed
fix publish
1 parent 6ff19eb commit a740ba4

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
./install.sh
2222
rm -r dist
2323
- name: Build package
24-
run: python -m build sdist
24+
run: python setup.py build sdist
2525
- name: Publish package
2626
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
2727
with:

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

33
sudo apt update
4-
sudo apt install g++ gcc swig libpfm4-dev python3-dev python3-pip
4+
sudo apt install -y g++ gcc swig libpfm4-dev python3-dev python3-pip
55
python3 setup.py build
66
python3 setup.py install

performance_features/workload.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ int Workload::create_wrokload(const vector<string>& args)
7272
{
7373
return pid;
7474
}
75+
return 0;
7576
}
7677

7778
void Workload::wait_finish()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def run(self):
1515
setuptools.setup(
1616
cmdclass={"build_ext": cbuild_ext},
1717
name="performance_features",
18-
version="0.2.5",
18+
version="0.2.6",
1919
packages=["perfmon", "performance_features"],
2020
package_dir={"perfmon": "perfmon", "performance_features": "performance_features"},
2121
py_modules=["perfmon.perfmon_int", "performance_features.profiler"],

0 commit comments

Comments
 (0)