-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaction.yml
36 lines (34 loc) · 963 Bytes
/
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
name: "Send to Allure Docker Service"
description: "Sends allure reports to dockerized server"
author: "unickq"
branding:
icon: 'upload'
color: 'yellow'
inputs:
allure_results:
description: "Allure results dir"
required: false
default: 'allure-results'
project_id:
description: "Project id"
required: false
default: 'default'
auth:
description: "Security"
required: false
default: 'true'
generate:
description: "Generate report finish"
required: false
default: 'false'
clean_results:
description: "Clean previous allure results"
required: false
default: 'false'
runs:
using: "composite"
steps:
- run: chmod +x $GITHUB_ACTION_PATH/script.sh
shell: bash
- run: $GITHUB_ACTION_PATH/script.sh ${{ inputs.allure_results }} ${{ inputs.project_id }} ${{ inputs.auth }} ${{ inputs.generate }} ${{ inputs.clean_results }}
shell: bash