Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luminsports/github-action-composer-install
https://github.com/luminsports/github-action-composer-install
github-action
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/luminsports/github-action-composer-install
- Owner: luminsports
- Created: 2022-04-06T11:05:17.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-25T00:46:28.000Z (12 months ago)
- Last Synced: 2024-04-25T06:01:58.124Z (9 months ago)
- Topics: github-action
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub Action: composer-install-action
Install Composer Dependencies via Github Action.
```yaml
- uses: luminsports/github-action-composer@main
with:
# Disables installation of require-dev packages.
no-dev: ""# Optimize autoloader during autoloader dump.
# Default: true
optimize-autoloader: ""# Optimize autoloader during autoloader dump.
no-autoloader: ""# Forces installation from package dist (default behavior).
# Default: true
prefer-dist: ""# Forces installation from package sources when possible, including VCS
# information.
prefer-source: ""# Whether to use cache.
# Default: true
cache: ""# Whether to create artifacts.
# Default: true
artifact: ""# Name of generated artifact.
# Default: composer
artifact-name: ""# Name of generated artifact.
# Default: vendor.tar
artifact-path: ""# Number of days that the artifact should be retained for.
# Default: 7
artifact-retention-days: ""
```| **Input** | **Description** | **Default** | **Required** |
| :---------------------------- | :--------------------------------------------------------------------------------- | :----------: | :----------: |
| **`no-dev`** | Disables installation of require-dev packages. | | **false** |
| **`optimize-autoloader`** | Optimize autoloader during autoloader dump. | `true` | **false** |
| **`no-autoloader`** | Optimize autoloader during autoloader dump. | | **false** |
| **`prefer-dist`** | Forces installation from package dist (default behavior). | `true` | **false** |
| **`prefer-source`** | Forces installation from package sources when possible, including VCS information. | | **false** |
| **`cache`** | Whether to use cache. | `true` | **false** |
| **`artifact`** | Whether to create artifacts. | `true` | **false** |
| **`artifact-name`** | Name of generated artifact. | `composer` | **false** |
| **`artifact-path`** | Name of generated artifact. | `vendor.tar` | **false** |
| **`artifact-retention-days`** | Number of days that the artifact should be retained for. | `7` | **false** || **Output** | **Description** | **Default** | **Required** |
| :----------------------- | :------------------------------------------------------------------------------------ | ----------- | ------------ |
| `checkstyle-result` | Checkstyle report generate by php-cs-fixer | | |
| `pull-request-number` | The pull request number | | |
| `pull-request-url` | The URL of the pull request. | | |
| `pull-request-operation` | The pull request operation performed by the action, `created`, `updated` or `closed`. | | |
| `pull-request-head-sha` | The commit SHA of the pull request branch. | | |