Compare commits
3 Commits
fix/token-
...
main
Author | SHA1 | Date | |
---|---|---|---|
5af82bd052 | |||
4ee00c960b | |||
288c703a0f |
@ -19,10 +19,10 @@ This action sets up and installs Composer dependencies for PHP projects, with ca
|
|||||||
- **Default:** `**/composer.lock`
|
- **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.
|
- **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`
|
- **Type:** `string`
|
||||||
- **Default:** `pkdt-***`
|
- **Default:** `pkdt-***`
|
||||||
- **Description:** Deploy token to globally authenticate with packistry
|
- **Description:** Deploy token to authenticate with packistry
|
||||||
|
|
||||||
## Usage Example
|
## Usage Example
|
||||||
|
|
||||||
|
@ -5,12 +5,12 @@ inputs:
|
|||||||
args:
|
args:
|
||||||
description: 'install arguments'
|
description: 'install arguments'
|
||||||
required: false
|
required: false
|
||||||
default: '--verbose --prefer-dist --no-progress --no-interaction --optimize-autoloader --ignore-platform-reqs'
|
default: '--verbose --prefer-dist --no-progress --no-interaction --optimize-autoloader --ignore-platform-reqs --no-scripts'
|
||||||
file:
|
file:
|
||||||
description: 'file to hash for cache key'
|
description: 'file to hash for cache key'
|
||||||
required: false
|
required: false
|
||||||
default: '**/composer.lock'
|
default: '**/composer.lock'
|
||||||
token:
|
packistry-token:
|
||||||
description: 'Packistry deploy token'
|
description: 'Packistry deploy token'
|
||||||
required: false
|
required: false
|
||||||
default: ${{ vars.PACKISTRY_DEPLOY_TOKEN }}
|
default: ${{ vars.PACKISTRY_DEPLOY_TOKEN }}
|
||||||
@ -22,7 +22,7 @@ runs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Auth registry
|
- 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
|
- name: Get Composer Cache Directory
|
||||||
id: composer-cache
|
id: composer-cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user