Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 721 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 721 Bytes

Usage

Set your ENV and write a command including AWS SAM-CLI to cmd.

  • cmd can have bash command.
  • cmd can have commands other than sam .
steps:
  - name: sam cli
    uses: tkt-actions/aws-sam-cli@v1
    env:
      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
      AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
    with:
      cmd: 'sam --version'

Sample

ENV

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_DEFAULT_REGION