forked from kaustubhcs/prime-hexagon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
77 lines (71 loc) · 2.07 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
68
69
70
71
72
73
74
75
76
77
name: Docker Deploy Action
description: >
🪂 A Github Action to deploy pages
branding:
icon: 'command'
color: 'yellow'
inputs:
docker_hub_username:
description: Username for Docker Hub
default: ${{ github.actor }}
required: false
docker_hub_password:
description: Docker Hub password
required: true
docker_hub_token:
description: Docker Hub authentication token
required: true
initiate_pauli_sum:
description: Build args
required: false
default: ""
image_name:
description: Tag to use for the new image
default: ${{ github.action_repository }}
required: true
rerun_runner:
description: Redeploy hosted runner
default: 'false'
required: true
credentials:
description: The Google cloud credentials
required: true
token:
description: The Github personal token
required: true
id:
description: The id according to os
required: true
outputs:
all_outputs:
description: Collect all outputs
value: ${{ toJSON(steps.*.outputs) }}
runs:
using: composite
steps:
- name: Target Configuration
uses: eq19/eq19/.github/actions/1-addition/1-maps@v2
if: inputs.id == 1
id: addition
with:
hub_username: ${{ inputs.docker_hub_username }}
hub_password: ${{ inputs.docker_hub_password }}
hub_token: ${{ inputs.docker_hub_token }}
action_path: ${{ github.action_path }}
credentials: ${{ inputs.credentials }}
image_name: ${{ inputs.image_name }}
token: ${{ inputs.token }}
id: ${{ inputs.id }}
- name: Profiling Feedback
uses: eq19/eq19/.github/actions/2-multiplication/1-maps@v2
if: inputs.id == 2
id: multiplication
with:
id: ${{ inputs.id }}
token: ${{ inputs.token }}
image_name: ${{ inputs.image_name }}
credentials: ${{ inputs.credentials }}
action_path: ${{ github.action_path }}
rerun_runner: ${{ inputs.rerun_runner }}
hub_token: ${{ inputs.docker_hub_token }}
hub_username: ${{ inputs.docker_hub_username }}