Skip to content

Installing Composer dependencies #12

@TangibleMark

Description

@TangibleMark

Hi Eliot,

We've been moving our projects over to Github from Bitbucket, and so I've been using the new Github Actions pipeline quite a bit. One major Issue I seem to be having with it, is that I can't find an easy way to generate a autoload.php file, and it doesn't seem to download the dependencies of my packages. For example this one line:
https://github.com/TangibleInc/tangible-searchsync/blob/main/composer.json#L28

Was able to install the Algolia library my project relied on. When I translate this to tangible.config.js:

{
      git:    'git@github.com:algolia/algoliasearch-client-php.git',
      dest:   'vendor/algolia/algoliasearch-client-php',
      branch: '4.6.4'
},

The library will be included, but then because there is no longer an autoload.php file, it will no longer be accessible to my project. I added a step to my pipeline to generate the autoload.php file, so now my project found it, only to discover that the dependencies of this library are not installed.

Any help on this matter would be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions