forked from YOUSIKI/PKUAutoSubmit-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
67 lines (63 loc) · 1.56 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: "PKUAutoSubmit"
description: "燕园云战役自动填报小助手"
inputs:
username:
description: "IAAA 用户名"
required: true
password:
description: "IAAA 密码"
required: true
campus:
description: "所在校区 (燕园、万柳、畅春园、圆明园、中关新园)"
required: true
default: "燕园"
reason:
description: "出入校事由"
required: true
default: "恰饭"
in_habitation:
description: "入校前居住地 (北京、京外)"
required: true
default: "北京"
in_district:
description: "居住地所在区"
required: true
default: "海淀区"
in_street:
description: "居住地所在街道"
required: true
default: "燕园街道"
out_destination:
description: "出校目的地 (北京、京外)"
required: true
default: "北京"
out_track:
description: "出校行动轨迹"
required: true
default: "燕园-圆明园"
wechat:
description: "是否需要微信通知 (True / False)"
required: true
default: "False"
sckey:
description: "方糖 sckey"
required: true
default: "xxxxxxxx"
outputs:
time:
description: "小助手运行时间"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.username }}
- ${{ inputs.password }}
- ${{ inputs.campus }}
- ${{ inputs.reason }}
- ${{ inputs.in_habitation }}
- ${{ inputs.in_district }}
- ${{ inputs.in_street }}
- ${{ inputs.out_destination }}
- ${{ inputs.out_track }}
- ${{ inputs.wechat }}
- ${{ inputs.sckey }}