Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chrislennon/action-aws-cli

An action to install and setup AWS cli
https://github.com/chrislennon/action-aws-cli

Last synced: 12 days ago
JSON representation

An action to install and setup AWS cli

Awesome Lists containing this project

README

        


GitHub Actions status

# action-aws-cli

Action to install the most recent version of the [AWS-CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html)

Some GitHub build images have this already - as documented [here](https://help.github.com/en/articles/software-in-virtual-environments-for-github-actions):

Installs on:
- ubuntu-16.04
- windows-2016
- windows-2019
- macOS-10.14

Updates on:
- ubuntu-18.04

## Usage

Example
````yaml
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/[email protected]
# 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 }}
````