Skip to content

Commit

Permalink
fix default value for arch
Browse files Browse the repository at this point in the history
  • Loading branch information
unfor19 committed Nov 12, 2021
1 parent a6d9e1a commit e786ee1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,23 @@ inputs:
required: false
default: false
arch:
description: Architecture of the linux host
description: Allowed values are - amd64, arm64
required: false
default: x86
default: amd64
outputs:
version:
description: "The AWS CLI version that was installed"
value: ${{ steps.set-output.outputs.version }}


runs:
using: "composite"
steps:
- id: set-env-vars
run: |
echo "AWS_CLI_VERSION=${{ inputs.version }}" >> $GITHUB_ENV
echo "AWS_CLI_ARCH=${{ inputs.arch }}" >> $GITHUB_ENV
echo "VERBOSE=${{ inputs.verbose }}" >> $GITHUB_ENV
echo "LIGHTSAILCTL=${{ inputs.lightsailctl }}" >> $GITHUB_ENV
echo "ARCH=${{ inputs.arch }}" >> $GITHUB_ENV
shell: bash
- id: install-aws-cli
run: sudo --preserve-env ${{ github.action_path }}/entrypoint.sh
Expand Down

0 comments on commit e786ee1

Please sign in to comment.