File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 28
28
- uses : actions/upload-artifact@v2
29
29
with :
30
30
name : ${{ github.sha }}
31
- path : dist/*
31
+ path : |
32
+ dist/*
33
+ dist-serverless/*
32
34
33
35
docs :
34
36
timeout-minutes : 10
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ pip-log.txt
11
11
* .egg-info
12
12
/build
13
13
/dist
14
+ /dist-serverless
14
15
.cache
15
16
.idea
16
17
.eggs
Original file line number Diff line number Diff line change 6
6
7
7
8
8
DIST_DIRNAME = "dist"
9
- DIST_DIR = os .path .abspath (os .path .join (os .path .dirname (__file__ ), ".." , DIST_DIRNAME ))
9
+ DEST_REL_PATH = "dist-serverless"
10
+ DEST_ABS_PATH = os .path .abspath (
11
+ os .path .join (os .path .dirname (__file__ ), ".." , DEST_REL_PATH )
12
+ )
10
13
DEST_ZIP_FILENAME = f"sentry-python-serverless-{ SDK_VERSION } .zip"
11
14
WHEELS_FILEPATH = os .path .join (
12
15
DIST_DIRNAME , f"sentry_sdk-{ SDK_VERSION } -py2.py3-none-any.whl"
@@ -65,7 +68,9 @@ def build_packaged_zip():
65
68
package_builder .make_directories ()
66
69
package_builder .install_python_binaries ()
67
70
package_builder .zip (DEST_ZIP_FILENAME )
68
- shutil .copy (package_builder .get_relative_path_of (DEST_ZIP_FILENAME ), DIST_DIR )
71
+ shutil .copy (
72
+ package_builder .get_relative_path_of (DEST_ZIP_FILENAME ), DEST_ABS_PATH
73
+ )
69
74
70
75
71
76
build_packaged_zip ()
You can’t perform that action at this time.
0 commit comments