Need to create the layer before creating -min

This commit is contained in:
Sparticuz 2023-01-13 15:30:17 -05:00
parent 52a16b8d7d
commit 94f9f9b59a
1 changed files with 3 additions and 3 deletions

View File

@ -31,6 +31,9 @@ jobs:
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
- name: Create Lambda Layer
run: make chromium-${{ github.ref_name }}-layer.zip
# Change the package name to chromium-min, # Change the package name to chromium-min,
# delete the bin folder from the files array # delete the bin folder from the files array
# so that it doesn't publish the binaries to -min # so that it doesn't publish the binaries to -min
@ -46,9 +49,6 @@ jobs:
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
- name: Create Lambda Layer
run: make chromium-${{ github.ref_name }}-layer.zip
- name: Create Chromium Pack - name: Create Chromium Pack
run: | run: |
cd bin cd bin