Skip to content

Commit 2796cec

Browse files
authored
@W-13578461@ Fix create_mrt action (#1520)
* Use github.workspace as default directory * Clean up unused changes * Use github workspace as default directory * Comment out other tests for faster testing of changes - will revert * Revert "Comment out other tests for faster testing of changes - will revert" This reverts commit 59a1b85. * Use caps
1 parent 73d3c75 commit 2796cec

File tree

4 files changed

+2
-9
lines changed

4 files changed

+2
-9
lines changed

.github/actions/create_mrt/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ inputs:
66
description: "Mobify user API key"
77
cwd:
88
required: false
9-
default: ${PWD}
9+
default: ${{ github.workspace }}
1010
runs:
1111
using: composite
1212
steps:

.github/actions/e2e_generate_app/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@ inputs:
44
description: Project key to specify project to generate ("retail-app-demo", "retail-app-ext" or "retail-app-no-ext")
55
required: true
66
type: string
7-
cwd:
8-
required: false
9-
default: ${PWD}
107
runs:
118
using: composite
129
steps:
1310
- name: Generate new project based on project-key
14-
working-directory: ${{ inputs.cwd }}
1511
run: node e2e/scripts/generate-project.js ${{ inputs.PROJECT_KEY }}
1612
shell: bash

.github/actions/e2e_validate_generated_app/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@ inputs:
44
description: Project key to specify project to validate ("retail-app-demo", "retail-app-ext" or "retail-app-no-ext")
55
required: true
66
type: string
7-
cwd:
8-
required: false
9-
default: ${PWD}
107
runs:
118
using: composite
129
steps:
1310
- name: Validate generated project based on project-key
14-
working-directory: ${{ inputs.cwd }}
1511
run: node e2e/scripts/validate-generated-project.js ${{ inputs.PROJECT_KEY }}
1612
shell: bash

.github/actions/push_to_mrt/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: push_to_mrt
22
inputs:
33
CWD:
44
description: Project directory
5+
default: ${{ github.workspace }}
56
TARGET:
67
description: MRT target
78
FLAGS:

0 commit comments

Comments
 (0)