Skip to content
terminal

GitHub Action

AWS cli install action

1.1 Latest version

AWS cli install action

terminal

AWS cli install action

Installs AWS CLI

Installation

Copy and paste the following snippet into your .yml file.

              

- name: AWS cli install action

uses: chrislennon/action-aws-cli@1.1

Learn more about this action in chrislennon/action-aws-cli

Choose a version

GitHub Actions status

action-aws-cli

Action to install AWS cli

Usage

Example

name: Example

on:
  push

jobs:
  listS3:
    runs-on: ubuntu-latest
    steps:
      - uses: chrislennon/action-aws-cli@v1
      - run: aws s3 ls
        env:
          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}