-
Notifications
You must be signed in to change notification settings - Fork 68
54 lines (53 loc) · 1.28 KB
/
upgrade_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Testing PrestaShop upgrade
on:
workflow_dispatch:
inputs:
source_ref:
type: choice
description: Use a source branch or tag to start the upgrade from
required: true
options:
- '8.1.x'
- '8.0.x'
- '1.7.8.x'
- '8.0.4'
- '1.7.8.9'
default: '8.0.x'
target_ref:
type: choice
description: Use a target branch or tag to upgrade to
required: true
options:
- 'develop'
- '8.1.x'
- '8.0.x'
- '8.0.4'
- '8.1.0'
default: '8.1.x'
php_version:
type: choice
description: PHP version
required: true
options:
- '7.3'
- '7.4'
- '8.0'
- '8.1'
- '8.2'
default: '8.1'
node_version:
type: choice
description: Node version
required: true
options:
- '14'
- '16'
default: '14'
jobs:
build-source:
name: Build source shop based on ref ${{ inputs.source_ref }}
uses: ./.github/workflows/sub-workflows/build-shop.yml
with:
repository_ref: ${{ inputs.source_ref }}
php_version: ${{ inputs.php_version }}
node_version: ${{ inputs.node_version }}