+
Skip to content

ankurk91/install-aws-cli-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install AWS CLI Action

tests lint

Action to Install AWS CLI v2 on self-hosted Linux runners.

Features

  • Cache downloaded zip file to save bandwidth on concurrent runs 🚀
  • Works for both x86_64 (Intel) and arm64 (ARM) architectures 😉
  • Tested on GitHub and Gitea Actions
  • Skip installation if AWS CLI is already installed

Usage

on:
  push:
    branches:
      - main

jobs:
  Deployment:
    runs-on: ubuntu-latest

    steps:
      - name: Install AWS CLI v2
        uses: ankurk91/install-aws-cli-action@v1

      - name: Configure AWS Credentials
        uses: aws-actions/configure-aws-credentials@v4
        with:
          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          aws-region: ${{ vars.AWS_REGION }}

Inputs

Name Required Default Description
cache No true Determines if downloaded zip files must be cached

Notes

Note

This action is using bash scripts which utilize the curl and unzip commands. Ensure your runner has these preinstalled.

Attribution

This repo was inspired by quipper/setup-aws-cli-action

Ref links

License

This repo is licensed under MIT License.

About

Install AWS CLI in GitHub/Gitea self-hosted environments 🍺

Topics

Resources

License

Stars

Watchers

Forks

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载