From bc6fa4a52ed3029359e20d5d44916045cc0ea02c Mon Sep 17 00:00:00 2001 From: Steven Sheehy Date: Mon, 10 Aug 2020 15:33:16 -0500 Subject: [PATCH] Address review feedback Signed-off-by: Steven Sheehy --- README.md | 2 +- action.yml | 8 ++++---- src/entrypoint.sh | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 66c5f98..c9c46a3 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ Inputs: * `owner` The GitHub user or org that owns this repository, defaults to the owner in `GITHUB_REPOSITORY` env var * `repository` The GitHub repository, defaults to the `GITHUB_REPOSITORY` env var * `branch` The branch to publish charts, defaults to `gh-pages` -* `helm_version` The Helm CLI version, defaults to the latest release * `target_dir` The target directory to store the charts, defaults to `.` +* `helm_version` The Helm CLI version, defaults to the latest release ## Examples diff --git a/action.yml b/action.yml index 2b45bfa..1ab5448 100644 --- a/action.yml +++ b/action.yml @@ -23,12 +23,12 @@ inputs: branch: description: "The branch to publish charts, defaults to `gh-pages`" required: false - helm_version: - description: "The Helm CLI version" - required: false target_dir: description: "The target directory to store the charts, defaults to `.`" required: false + helm_version: + description: "The Helm CLI version" + required: false runs: using: 'docker' image: 'Dockerfile' @@ -39,5 +39,5 @@ runs: - ${{ inputs.user }} - ${{ inputs.repository }} - ${{ inputs.branch }} - - ${{ inputs.helm_version }} - ${{ inputs.target_dir }} + - ${{ inputs.helm_version }} diff --git a/src/entrypoint.sh b/src/entrypoint.sh index ebed7ae..e4840ef 100644 --- a/src/entrypoint.sh +++ b/src/entrypoint.sh @@ -9,8 +9,8 @@ CHARTS_URL=$3 OWNER=$4 REPOSITORY=$5 BRANCH=$6 -HELM_VERSION=$7 -TARGET_DIR=$8 +TARGET_DIR=$7 +HELM_VERSION=$8 CHARTS=() CHARTS_TMP_DIR=$(mktemp -d)