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:
Damien Retzinger
2022-10-11 16:19:49 -04:00
committed by GitHub
parent 3e4d3c1645
commit 7431dcb7af
14 changed files with 119 additions and 10 deletions
+7 -1
View File
@@ -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)