-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a65ea34
commit 1f13797
Showing
3 changed files
with
88 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: 'Update composer dependencies' | ||
description: 'Set up PHP and update composer dependencies' | ||
|
||
inputs: | ||
command: | ||
description: 'The composer command to run.' | ||
required: false | ||
default: 'install' | ||
|
||
flags: | ||
description: 'Flags to use when installing composer dependencies.' | ||
required: false | ||
default: '--no-scripts --no-plugins' | ||
|
||
php-version: | ||
description: 'The php version to use.' | ||
default: '7.2' | ||
required: false | ||
|
||
outputs: | ||
image: | ||
description: 'The image name that was used to install dependencies. Can be used in subsequent jobs.' | ||
value: ${{ steps.install.outputs.image }} | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- uses: myparcelnl/actions/composer-install@v3 | ||
id: install | ||
with: | ||
command: ${{ inputs.command }} | ||
flags: ${{ inputs.flags }} | ||
image: ${{ steps.prepare.outputs.image }} |