Commit f4c02bd
authored
Add Command and Target Directory to the Actions
Instead of keeping the command to run and the destination to where
upload the artifacts harcoded, we can use the action `inputs` and
fallback to the built-in configuration.
These changes introduce a Data Structure called `Configuration` holding
the options coming from the external.
The options are lazy in the sense that, the `Configuration` class has a
dependency over the `core.getInput` so that we only call the function
when we actually need the value.
The `Configuration` properties are consumed via their getters.1 parent e2c00ec commit f4c02bd
File tree
6 files changed
+71
-16
lines changed- dist
- src
- model
6 files changed
+71
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
58 | | - | |
| 62 | + | |
59 | 63 | | |
60 | 64 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31581 | 31581 | | |
31582 | 31582 | | |
31583 | 31583 | | |
| 31584 | + | |
| 31585 | + | |
| 31586 | + | |
| 31587 | + | |
| 31588 | + | |
| 31589 | + | |
| 31590 | + | |
| 31591 | + | |
| 31592 | + | |
| 31593 | + | |
| 31594 | + | |
| 31595 | + | |
| 31596 | + | |
| 31597 | + | |
| 31598 | + | |
| 31599 | + | |
| 31600 | + | |
| 31601 | + | |
| 31602 | + | |
| 31603 | + | |
| 31604 | + | |
| 31605 | + | |
| 31606 | + | |
| 31607 | + | |
| 31608 | + | |
| 31609 | + | |
31584 | 31610 | | |
31585 | 31611 | | |
31586 | 31612 | | |
| |||
31669 | 31695 | | |
31670 | 31696 | | |
31671 | 31697 | | |
| 31698 | + | |
31672 | 31699 | | |
| 31700 | + | |
31673 | 31701 | | |
31674 | 31702 | | |
31675 | | - | |
| 31703 | + | |
31676 | 31704 | | |
31677 | 31705 | | |
31678 | 31706 | | |
| |||
31722 | 31750 | | |
31723 | 31751 | | |
31724 | 31752 | | |
31725 | | - | |
31726 | | - | |
31727 | | - | |
| 31753 | + | |
| 31754 | + | |
31728 | 31755 | | |
31729 | 31756 | | |
| 31757 | + | |
31730 | 31758 | | |
31731 | 31759 | | |
31732 | 31760 | | |
| |||
31742 | 31770 | | |
31743 | 31771 | | |
31744 | 31772 | | |
31745 | | - | |
| 31773 | + | |
31746 | 31774 | | |
31747 | 31775 | | |
31748 | 31776 | | |
| |||
31755 | 31783 | | |
31756 | 31784 | | |
31757 | 31785 | | |
31758 | | - | |
| 31786 | + | |
31759 | 31787 | | |
31760 | 31788 | | |
31761 | 31789 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | | - | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 8 | | |
11 | 9 | | |
12 | | - | |
| 10 | + | |
| 11 | + | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | | - | |
| 46 | + | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
0 commit comments