mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-13 05:04:54 +00:00
feat: allow using "next" version on supported version (#58)
This also allows using the action in https://github.com/mage-os/generate-mirror-repo-js where the test module is an external package installed with composer. In this case, no local path repo configuration is needed. Co-authored-by: Vinai Kopp <Vinai@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
|
||||
use_local_source:
|
||||
type: boolean
|
||||
required: false
|
||||
default: true
|
||||
description: "Whether or not you want to test your local package or not."
|
||||
|
||||
source_folder:
|
||||
type: string
|
||||
required: false
|
||||
@@ -130,6 +135,7 @@ jobs:
|
||||
name: Add Github Repo for Testing
|
||||
working-directory: ${{ inputs.magento_directory }}
|
||||
shell: bash
|
||||
if: ${{ inputs.use_local_source == true }}
|
||||
|
||||
- run: composer require monolog/monolog:"<2.7.0" --no-update
|
||||
name: Fixup Monolog (https://github.com/magento/magento2/pull/35596)
|
||||
|
||||
Reference in New Issue
Block a user