Skip to content

AWS cli install action

Actions
Installs AWS CLI
1.1
Latest
Star (78)

Tags

 (1)

GitHub Actions status

action-aws-cli

Action to install the most recent version of the AWS-CLI

Some GitHub build images have this already - as documented here:

Installs on:

  • ubuntu-16.04
  • windows-2016
  • windows-2019
  • macOS-10.14

Updates on:

  • ubuntu-18.04

Usage

Example

name: List S3 Contents - Multi OS

on:
  push
jobs:
  listS3:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [macOS-10.14, windows-2016, ubuntu-18.04]
    steps:
      - uses: chrislennon/action-aws-cli@v1.1
      # All commands after this point have access to the AWS CLI
      - run: aws s3 ls
        env:
          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

AWS cli install action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Installs AWS CLI
1.1
Latest

Tags

 (1)

AWS cli install action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.