Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/chrislennon/action-aws-cli
- Owner: chrislennon
- License: mit
- Archived: true
- Created: 2019-08-17T11:44:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-12T07:13:14.000Z (about 4 years ago)
- Last Synced: 2024-05-17T16:41:27.527Z (6 months ago)
- Language: TypeScript
- Size: 1.14 MB
- Stars: 79
- Watchers: 3
- Forks: 42
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.14Updates on:
- ubuntu-18.04## Usage
Example
````yaml
name: List S3 Contents - Multi OSon:
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 }}
````