From db5eec4c51be1c0afee660cfe43b2c21ae43f35d Mon Sep 17 00:00:00 2001 From: jrandiny Date: Fri, 15 May 2020 23:49:14 +0700 Subject: [PATCH] Update some config wording --- action.yml | 4 ++-- entrypoint.py | 4 ++-- readme.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index 6371951..592e192 100644 --- a/action.yml +++ b/action.yml @@ -4,10 +4,10 @@ inputs: github_token: description: "Github token with commit and push scope" required: true - arch: + repo_supported_arch: description: "Newline-delimited list of supported architecture" required: true - version: + repo_supported_version: description: "Newline-delimited list of supported (linux) version" required: true file: diff --git a/entrypoint.py b/entrypoint.py index 79f7ad3..44bbe83 100644 --- a/entrypoint.py +++ b/entrypoint.py @@ -20,8 +20,8 @@ logging.info('-- Parsing input --') github_token = os.environ.get('INPUT_GITHUB_TOKEN') - supported_arch = os.environ.get('INPUT_ARCH') - supported_version = os.environ.get('INPUT_VERSION') + supported_arch = os.environ.get('INPUT_REPO_SUPPORTED_ARCH') + supported_version = os.environ.get('INPUT_REPO_SUPPORTED_VERSION') deb_file_path = os.environ.get('INPUT_FILE') deb_file_target_version = os.environ.get('INPUT_FILE_TARGET_VERSION') github_repo = os.environ.get('GITHUB_REPOSITORY') diff --git a/readme.md b/readme.md index 6910ae1..e09b3d5 100644 --- a/readme.md +++ b/readme.md @@ -8,11 +8,11 @@ This action will setup and manage a simple APT repo on your github pages **Required** Personal access token with commit and push scope granted. -### `arch` +### `repo_supported_arch` **Required** Newline-delimited list of supported architecture -### `version` +### `repo_supported_version` **Required** Newline-delimited list of supported (linux) version