@@ -253,43 +253,6 @@ jobs:
253
253
# `job_build` can't see `job_install_deps` and what it returned)
254
254
dependency_cache_key : ${{ needs.job_install_deps.outputs.dependency_cache_key }}
255
255
256
- job_pack_aws_lambda_layer :
257
- name : Pack and Upload AWS Lambda Layer
258
- needs : [job_get_metadata, job_build]
259
- # only upload the zipped layer file if we're about to release
260
- if : startsWith(github.ref, 'refs/heads/release/')
261
- runs-on : ubuntu-20.04
262
- steps :
263
- - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
264
- uses : actions/checkout@v3
265
- with :
266
- ref : ${{ env.HEAD_COMMIT }}
267
- - name : Set up Node
268
- uses : actions/setup-node@v3
269
- with :
270
- node-version-file : ' package.json'
271
- - name : Restore caches
272
- uses : ./.github/actions/restore-cache
273
- env :
274
- DEPENDENCY_CACHE_KEY : ${{ needs.job_build.outputs.dependency_cache_key }}
275
-
276
- - name : Get SDK version
277
- # `jq` reads JSON files, and `tee` pipes its input to the given location and to stdout. (Adding `-a` is the
278
- # equivalent of using >> rather than >.)
279
- run : |
280
- export SDK_VERSION=$(cat packages/core/package.json | jq --raw-output '.version')
281
- echo "SDK_VERSION=$SDK_VERSION" | tee -a $GITHUB_ENV
282
- - name : Move dist-serverless to root directory (requirement for zipping action)
283
- run : |
284
- mv ./packages/serverless/build/aws/dist-serverless .
285
- - name : Create and upload final zip file
286
- uses : getsentry/action-build-aws-lambda-extension@v1
287
- with :
288
- artifact_name : ${{ env.HEAD_COMMIT }}
289
- zip_file_name : sentry-node-serverless-${{ env.SDK_VERSION }}.zip
290
- build_cache_paths : ${{ env.CACHED_BUILD_PATHS }}
291
- build_cache_key : ${{ env.BUILD_CACHE_KEY }}
292
-
293
256
job_size_check :
294
257
name : Size Check
295
258
needs : [job_get_metadata, job_build]
@@ -399,6 +362,7 @@ jobs:
399
362
${{ github.workspace }}/packages/integrations/build/bundles/**
400
363
${{ github.workspace }}/packages/replay/build/bundles/**
401
364
${{ github.workspace }}/packages/**/*.tgz
365
+ ${{ github.workspace }}/packages/serverless/build/aws/dist-serverless/*.zip
402
366
403
367
job_browser_unit_tests :
404
368
name : Browser Unit Tests
0 commit comments