see if actions works

This commit is contained in:
Jun-te Kim 2025-07-18 10:30:49 +00:00
parent b6d985fb82
commit 29c1deca7c
2 changed files with 19 additions and 10 deletions

View file

@ -0,0 +1,7 @@
name: "Lambda Shared Action"
description: "Common setup for Lambda jobs"
runs:
using: "composite"
steps:
- run: echo "This is the lambda shared action"
shell: bash

View file

@ -20,18 +20,20 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run lambda shared action
uses: ./.github/workflows/actions/lambda
- name: AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
# as of 14/07/2025 it'll be using user:Junte's keys
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
# - name: AWS credentials
# uses: aws-actions/configure-aws-credentials@v4
# with:
# # as of 14/07/2025 it'll be using user:Junte's keys
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: ${{ secrets.AWS_REGION }}
- name: Log in to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
# - name: Log in to Amazon ECR
# id: login-ecr
# uses: aws-actions/amazon-ecr-login@v2
# - name: Build, tag, and push Docker image to ECR
# env: