diff --git a/action.yml b/action.yml index 34c978e..0a266a9 100644 --- a/action.yml +++ b/action.yml @@ -10,6 +10,10 @@ inputs: description: 'file to hash for cache key' required: false default: '**/composer.lock' + token: + description: 'Packistry deploy token' + required: false + default: ${{ vars.PACKISTRY_DEPLOY_TOKEN }} runs: using: "composite" @@ -18,7 +22,7 @@ runs: uses: actions/checkout@v4 - name: Auth registry - run: composer config --global http-basic.git.qlic.nl ${{ vars.REGISTRY_USERNAME }} ${{ vars.REGISTRY_PASSWORD }} + run: composer config --global bearer.packistry.qlic.nl ${{ inputs.token }} - name: Get Composer Cache Directory id: composer-cache