forked from nus-cs2103-AY2223S2/tp-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 1.06 KB
/
main.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
name: CI
run-name: ${{ inputs.workflow_description }}
on:
workflow_dispatch:
inputs:
authorship_analysis:
description: "Enable authorship analysis?"
type: boolean
required: true
default: true
workflow_description:
description: "Workflow's Description"
type: string
required: true
originality_threshold:
description: "Originality Threshold"
type: number
required: true
default: '-1'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Dump debug_mode
run: echo "Is authorship analysis enabled? ${{ inputs.authorship_analysis }}"
shell: bash
- uses: actions/checkout@v2
- name: Install dependencies
run: pip install requests
- name: Collect Workflow Telemetry
uses: runforesight/workflow-telemetry-action@v1
with:
theme: "dark"
- name: Generate report (Statistics)
run: bash ./run.sh ${{ inputs.authorship_analysis }} ${{ inputs.originality_threshold }}