Skip to content

About

Github Action for running Composer 2 commands

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Composer Github Action

This Github action allows you to run Composer 2 install in your Github workflows. Note that Git tags must start with a "v" prefix, for example "v1.23.4-5".

Example workflow

name: Build and release Docker images
on:
  push:
    branches-ignore:
      - '**'
    tags:
      - 'v*.*.*'

jobs:
  build:
    runs-on: ubuntu-latest
    steps:

      - uses: actions/checkout@v2
        with:
          fetch-depth: 1

      - name: Install Composer dependencies
        uses: flownative/action-composer2@master
        with:
          tag_ref: ${{ github.ref }}
–

The actual command executed by this action looks like this:

composer \ 
  --no-dev \
  --no-progress \
  --optimize-autoloader \
  --ignore-platform-reqs \ 
  --verbose \ 
  install

About

Github Action for running Composer 2 commands

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages