Merge pull request 'Update action.yml' (#5) from jamie-patch-1 into main
Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
name: Setup composer
|
name: Setup composer
|
||||||
description: Install and cache composer dependencies
|
description: Install and cache composer dependencies
|
||||||
author: Jamie Schouten
|
author: Jamie Schouten
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
args:
|
args:
|
||||||
description: 'install arguments'
|
description: 'install arguments'
|
||||||
@@ -14,12 +15,18 @@ inputs:
|
|||||||
description: 'Packistry deploy token'
|
description: 'Packistry deploy token'
|
||||||
required: false
|
required: false
|
||||||
default: ${{ vars.PACKISTRY_DEPLOY_TOKEN }}
|
default: ${{ vars.PACKISTRY_DEPLOY_TOKEN }}
|
||||||
|
fetch-depth:
|
||||||
|
description: 'Number of commits to fetch during checkout'
|
||||||
|
required: false
|
||||||
|
default: '1'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: ${{ inputs.fetch-depth }}
|
||||||
|
|
||||||
- name: Auth registry
|
- name: Auth registry
|
||||||
run: composer config --global bearer.packistry.qlic.nl ${{ inputs.packistry-token }}
|
run: composer config --global bearer.packistry.qlic.nl ${{ inputs.packistry-token }}
|
||||||
|
|||||||
Reference in New Issue
Block a user