Rename token input to packistry-token

This commit is contained in:
Jamie Schouten 2025-01-29 12:19:22 +01:00
parent 74129e82cd
commit 1c56ef1280
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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