Skip to content

Commit 9e9fbb9

Browse files
committed
#19 Upload api-lambda-layer to api-release
1 parent 2f31b51 commit 9e9fbb9

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/on-release.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -34,30 +34,30 @@ jobs:
3434
3535
- name: debug
3636
run: |
37-
echo "RELEASE_NAME=RELEASE_NAME"
37+
echo "RELEASE_NAME=$RELEASE_NAME"
3838
echo "INTERSCRIPT_VERSION=$INTERSCRIPT_VERSION"
3939
4040
# echo "INTERSCRIPT_VERSION=${GITHUB_REF#refs/*/v}" >> ${GITHUB_ENV}
4141

42-
# - name: build "interscript-api" source
43-
# run: |
44-
# gem install bundler
45-
# bundle config set path "./vendor/bundle"
46-
# bundle install --without=development --jobs 4 --retry 3
47-
# zip -r ${AWSL_SRC_ZIP} vendor lib
48-
#
49-
# - name: build api-lambda layer
50-
# working-directory: .github/awsl-layer-docker
51-
# run: |
52-
# bash build.sh
53-
# zip -r ${AWSL_LAYER_ZIP} libs
54-
#
55-
# - name: upload lambda layer to current release
56-
# uses: softprops/action-gh-release@v1
57-
# with:
58-
# files: |
59-
# ${{env.AWSL_SRC_ZIP}}
60-
# ${{env.AWSL_LAYER_ZIP}}
42+
- name: build "interscript-api" source
43+
run: |
44+
gem install bundler
45+
bundle config set path "./vendor/bundle"
46+
bundle install --without=development --jobs 4 --retry 3
47+
zip -r ${AWSL_SRC_ZIP} vendor lib
48+
49+
- name: build api-lambda layer
50+
working-directory: .github/awsl-layer-docker
51+
run: |
52+
bash build.sh
53+
zip -r ${AWSL_LAYER_ZIP} libs
54+
55+
- name: upload lambda layer to current release
56+
uses: softprops/action-gh-release@v1
57+
with:
58+
files: |
59+
${{env.AWSL_SRC_ZIP}}
60+
${{env.AWSL_LAYER_ZIP}}
6161
6262
## temp comment this for testing purpose
6363
# - name: dispatch "infrastructure-lambda-api"

0 commit comments

Comments
 (0)