Skip to content

Commit

Permalink
手動実行に対応
Browse files Browse the repository at this point in the history
  • Loading branch information
chihiro-adachi committed Sep 19, 2023
1 parent ccbc09e commit 1be6d1b
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@ on:
paths:
- '**'
- '!*.md'
workflow_dispatch:
inputs:
eccube-api-repository:
description: 'EC-CUBE API REPOSITORY'
default: 'https://github.com/EC-CUBE/eccube-api4.git'
required: false
eccube-api-branch:
description: 'EC-CUBE API BRANCH'
default: 'next-poc'
required: false
env:
API_REPOSITORY: ${{ inputs.eccube-api-repository || 'https://github.com/EC-CUBE/eccube-api4.git' }}
API_BRANCH: ${{ inputs.eccube-api-branch || 'next-poc' }}

jobs:
e2e:
name: E2E
Expand Down Expand Up @@ -68,7 +82,7 @@ jobs:
- name: Setup EC-CUBE API Plugin
working-directory: ec-cube
run: |
git clone -b next-poc https://github.com/EC-CUBE/eccube-api4.git
git clone -b ${API_BRANCH} ${API_REPOSITORY}
sed -i 's/"extra": {/"extra": { "id": 123,/g' eccube-api4/composer.json
bin/console eccube:composer:require ec-cube/api42 --from=./eccube-api4
bin/console eccube:plugin:enable --code Api42
Expand Down

0 comments on commit 1be6d1b

Please sign in to comment.