-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
46 lines (41 loc) · 1.13 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
46
name: 'Hello World'
description: 'Greet someone and record the time'
inputs:
python-version:
description: python-version
default: '3.7'
required: true
github-token:
description: github-token
required: false
outputs:
result:
description: 'result'
value: ${{ steps.finally.outputs.result }}
runs:
using: composite
steps:
- uses: actions/checkout@v2
- name: Use Python ${{ inputs.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ inputs.python-version }}
- name: Clone latest jina code
uses: actions/checkout@v2
with:
repository: jina-ai/jina
token: ${{ inputs.github-token }}
ref: refs/heads/master
path: jina
- name: pip install jina
working-directory: jina
run: pip install -e '.[standard]'
shell: bash
- run: docker version
shell: bash
- run: python ${{ github.action_path }}/docker-source-combine.py
shell: bash
- name: finally
id: finally
run: echo "::set-output name=result::0"
shell: bash