Skip to content

Commit 267007e

Browse files
committed
fix workflow spacing
1 parent e4e42ea commit 267007e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/lambda.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
uses: actions/setup-node@v3
3131
with:
3232
node-version: 16.x
33+
3334
- name: Install Zip
3435
run: |
3536
sudo apt-get install -y zip
@@ -41,6 +42,7 @@ jobs:
4142
uses: actions/checkout@v3
4243
with:
4344
fetch-depth: 0
45+
4446
- name: Fetch main branch so we can compare SHA
4547
run: git fetch origin main
4648

@@ -82,23 +84,26 @@ jobs:
8284
# Build and Upload Bossy Lambda Zip
8385
##################################################
8486
- name: Set ZIP File Name Var
87+
shell: bash
8588
run: |
8689
VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
8790
echo "FILE_NAME=lambda-github-action-token-rotator-${VERSION}.zip" >> $GITHUB_ENV
88-
shell: bash
91+
8992
- name: Create Zip File
93+
shell: bash
9094
run: |
9195
cd dist/apps/token-rotator || exit 1
9296
zip -r "$FILE_NAME" .
9397
mv "./$FILE_NAME" "$GITHUB_WORKSPACE/$FILE_NAME"
94-
shell: bash
98+
9599
- name: Configure AWS Credentials
96100
uses: aws-actions/configure-aws-credentials@v1
97101
with:
98102
aws-region: us-east-2
99103
role-to-assume: ${{ env.IAM_ROLE_ARN_S3 }}
100104
role-session-name: ${{ env.IAM_ROLE_SESSION_NAME }}
105+
101106
- name: Copy Lambda to S3
107+
shell: bash
102108
run: |
103109
aws s3 cp "./$FILE_NAME" s3://${{env.S3_BUCKET}}/bossy/ --sse AES256 --region ${{ env.AWS_REGION }}
104-
shell: bash

0 commit comments

Comments
 (0)