File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1
- name : Publish
1
+ name : Publish (Testing)
2
2
3
- on :
4
- release :
5
- types : [published]
3
+ on : [push, pull_request]
6
4
7
5
jobs :
8
6
publish :
14
12
python-version : ' 3.7'
15
13
- name : Build wheels
16
14
run : ./scripts/build.sh
17
- - name : Publish to PyPI
18
- uses : pypa/gh-action-pypi-publish@66f4ba7
19
- with :
20
- user : __token__
21
- ACCESS_TOKEN : ${{ secrets.pypy_password }}
Original file line number Diff line number Diff line change 3
3
# This script builds wheels for the API, SDK, and extension packages in the
4
4
# dist/ dir, to be uploaded to PyPI.
5
5
6
- # set -ev
6
+ set -ev
7
7
8
8
# Get the latest versions of packaging tools
9
9
python3 -m pip install --upgrade pip setuptools wheel
@@ -13,12 +13,19 @@ BASEDIR=$(dirname $(readlink -f $(dirname $0)))
13
13
(
14
14
cd $BASEDIR
15
15
mkdir -p dist
16
+
17
+ # Clean old artifacts
16
18
rm -rf dist/*
17
19
18
- for d in opentelemetry-api/ opentelemetry-sdk/ ext/* / ; do
19
- (
20
- cd " $d "
21
- python3 setup.py --verbose bdist_wheel --dist-dir " $BASEDIR /dist/"
22
- )
23
- done
20
+ # Clean old artifacts
21
+ for d in opentelemetry-api/ opentelemetry-sdk/ ext/* / ; do
22
+ (
23
+ cd " $d "
24
+ echo " pwd"
25
+ echo $( pwd)
26
+ python3 setup.py bdist_wheel --dist-dir " $BASEDIR /dist/"
27
+ )
28
+ done
29
+ echo " built packages: "
30
+ ls -lah " $BASEDIR /dist/"
24
31
)
You can’t perform that action at this time.
0 commit comments