8000 reactivate lambda layer job · bissolli/sentry-javascript@da10e94 · GitHub
[go: up one dir, main page]

Skip to content

Commit da10e94

Browse files
committed
reactivate lambda layer job
1 parent b0950aa commit da10e94

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

.github/workflows/build.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -134,42 +134,42 @@ jobs:
134134
# `job_build` can't see `job_install_deps` and what it returned)
135135
dependency_cache_key: ${{ needs.job_install_deps.outputs.dependency_cache_key }}
136136

137-
# job_build_aws_lambda_layer:
138-
# name: Build AWS Lambda Layer
139-
# needs: job_build
140-
# runs-on: ubuntu-latest
141-
# steps:
142-
# - name: Check out current commit (${{ env.HEAD_COMMIT }})
143-
# uses: actions/checkout@v2
144-
# with:
145-
# ref: ${{ env.HEAD_COMMIT }}
146-
# - name: Set up Node
147-
# uses: actions/setup-node@v1
148-
# with:
149-
# node-version: ${{ env.DEFAULT_NODE_VERSION }}
150-
# - name: Check dependency cache
151-
# uses: actions/cache@v2
152-
# with:
153-
# path: ${{ env.CACHED_DEPENDENCY_PATHS }}
154-
# key: ${{ needs.job_build.outputs.dependency_cache_key }}
155-
# - name: Check build cache
156-
# uses: actions/cache@v2
157-
# with:
158-
# path: ${{ env.CACHED_BUILD_PATHS }}
159-
# key: ${{ env.BUILD_CACHE_KEY }}
160-
# - name: Get SDK version
161-
# run: |
162-
# export SDK_VERSION=$(cat dist-serverless/version)
163-
# echo "SDK_VERSION=$SDK_VERSION" | tee -a $GITHUB_ENV
164-
# - uses: actions/upload-artifact@v3
165-
# with:
166-
# name: ${{ env.HEAD_COMMIT }}
167-
# path: |
168-
# dist-serverless/*
169-
# - uses: getsentry/action-build-aws-lambda-extension@v1
170-
# with:
171-
# artifact_name: ${{ env.HEAD_COMMIT }}
172-
# zip_file_name: sentry-node-serverless-${{ env.SDK_VERSION }}.zip
137+
job_build_aws_lambda_layer:
138+
name: Build AWS Lambda Layer
139+
needs: [job_get_metadata, job_build]
140+
runs-on: ubuntu-latest
141+
steps:
142+
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
143+
uses: actions/checkout@v2
144+
with:
145+
ref: ${{ env.HEAD_COMMIT }}
146+
- name: Set up Node
147+
uses: actions/setup-node@v1
148+
with:
149+
node-version: ${{ env.DEFAULT_NODE_VERSION }}
150+
- name: Check dependency cache
151+
uses: actions/cache@v2
152+
with:
153+
path: ${{ env.CACHED_DEPENDENCY_PATHS }}
154+
key: ${{ needs.job_build.outputs.dependency_cache_key }}
155+
- name: Check build cache
156+
uses: actions/cache@v2
157+
with:
158+
path: ${{ env.CACHED_BUILD_PATHS }}
159+
key: ${{ env.BUILD_CACHE_KEY }}
160+
- name: Get SDK version
161+
run: |
162+
export SDK_VERSION=$(cat dist-serverless/version)
163+
echo "SDK_VERSION=$SDK_VERSION" | tee -a $GITHUB_ENV
164+
- uses: actions/upload-artifact@v3
165+
with:
166+
name: ${{ env.HEAD_COMMIT }}
167+
path: |
168+
dist-serverless/*
169+
- uses: getsentry/action-build-aws-lambda-extension@v1
170+
with:
171+
artifact_name: ${{ env.HEAD_COMMIT }}
172+
zip_file_name: sentry-node-serverless-${{ env.SDK_VERSION }}.zip
173173

174174
job_size_check:
175175
name: Size Check

0 commit comments

Comments
 (0)
0