-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
47 lines (40 loc) · 1.1 KB
/
action.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
name: 'Link the Core Repo'
inputs:
application_dir:
description: 'The directory where the starter repo lives'
required: true
type: string
core_dir:
description: 'The directory to link'
required: true
type: string
runs:
using: "composite"
steps:
- run: pwd
working-directory: ${{ inputs.application_dir }}
shell: bash
- run: ls -al
working-directory: ${{ inputs.application_dir }}
shell: bash
- run: pwd
working-directory: ${{ inputs.core_dir }}
shell: bash
- run: ls -al
working-directory: ${{ inputs.core_dir }}
shell: bash
- name: Link local repos
working-directory: ${{ github.action_path }}
run: ./link-repo.sh
shell: bash
env:
APPLICATION_DIR: ${{ inputs.application_dir }}
CORE_DIR: ${{ inputs.core_dir }}
WORKSPACE: ${{ github.workspace }}
YARN_ENABLE_IMMUTABLE_INSTALLS: false
- run: pwd
working-directory: ${{ inputs.application_dir }}
shell: bash
- run: ls -al
working-directory: ${{ inputs.application_dir }}
shell: bash