File: .github/actions/composer/composer/determine-cache-directory/action.yaml

Recommend this page to a friend!
  Classes of Faris AL-Otaibi  >  PHP Sanitization Functions  >  .github/actions/composer/composer/determine-cache-directory/action.yaml  >  Download  
File: .github/actions/composer/composer/determine-cache-directory/action.yaml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Sanitization Functions
Verify and clean values to assure they are valid
Author: By
Last change: Update of .github/actions/composer/composer/determine-cache-directory/action.yaml
Date: 2 months ago
Size: 723 bytes
 

 

Contents

Class file image Download
# https://docs.github.com/en/actions/creating-actions/creating-a-composite-run-steps-action
# https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#inputs
# https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-composite-run-steps-actions
# https://getcomposer.org/doc/03-cli.md#composer-cache-dir

name: "Determine composer cache directory"

description: "Determines the composer cache directory and exports it as COMPOSER_CACHE_DIR environment variable"

runs:
  using: "composite"

  steps:
    - name: "Determine composer cache directory"
      shell: "bash"
      run: "echo \"COMPOSER_CACHE_DIR=$(composer config cache-dir)\" >> $GITHUB_ENV"

For more information send a message to info at phpclasses dot org.