From 288c703a0fa5328ce7dd2f911cbcd58473eab7ac Mon Sep 17 00:00:00 2001 From: Jamie Schouten Date: Wed, 29 Jan 2025 11:20:49 +0000 Subject: [PATCH] Rename token input to packistry-token (#2) Reviewed-on: https://git.qlic.nl/actions/setup-composer/pulls/2 --- README.md | 4 ++-- action.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dbdbc4a..c2d2a92 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,10 @@ This action sets up and installs Composer dependencies for PHP projects, with ca - **Default:** `**/composer.lock` - **Description:** Specifies the file to be hashed for the cache key. By default, it uses the `composer.lock` file, which reflects dependency versions. -- **token** (optional): +- **packistry-token** (optional): - **Type:** `string` - **Default:** `pkdt-***` - - **Description:** Deploy token to globally authenticate with packistry + - **Description:** Deploy token to authenticate with packistry ## Usage Example diff --git a/action.yml b/action.yml index 0a266a9..ceb72bd 100644 --- a/action.yml +++ b/action.yml @@ -10,7 +10,7 @@ inputs: description: 'file to hash for cache key' required: false default: '**/composer.lock' - token: + packistry-token: description: 'Packistry deploy token' required: false default: ${{ vars.PACKISTRY_DEPLOY_TOKEN }} @@ -22,7 +22,7 @@ runs: uses: actions/checkout@v4 - name: Auth registry - run: composer config --global bearer.packistry.qlic.nl ${{ inputs.token }} + run: composer config --global bearer.packistry.qlic.nl ${{ inputs.packistry-token }} - name: Get Composer Cache Directory id: composer-cache