File tree 2 files changed +29
-1
lines changed
2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ release :
3
+ types : [published]
4
+
5
+ permissions :
6
+ contents : read
7
+
8
+ jobs :
9
+ deploy :
10
+
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+ - name : Set up Python
16
+ uses : actions/setup-python@v3
17
+ with :
18
+ python-version : ' 3.x'
19
+ - name : Install dependencies
20
+ run : |
21
+ ./install.sh
22
+ rm -r dist
23
+ - name : Build package
24
+ run : python -m build sdist
25
+ - name : Publish package
26
+ uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
27
+ with :
28
+ user : __token__
29
+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 2
2
3
3
sudo apt update
4
4
sudo apt install g++ gcc swig libpfm4-dev python3-dev python3-pip
5
- cd performance_features/
6
5
python3 setup.py build
7
6
python3 setup.py install
You can’t perform that action at this time.
0 commit comments