13
13
steps :
14
14
# If the local version of forge is requested, we try to build (and cache) it
15
15
# locally with Earthly
16
+ - if : inputs.forge_version == 'local'
17
+ shell : bash
18
+ run : " Building Forge CLI locally..."
16
19
- name : Install Earthly
17
20
uses : earthly/actions-setup@v1
18
21
if : inputs.forge_version == 'local'
@@ -31,14 +34,16 @@ runs:
31
34
if : steps.cache-forge.outputs.cache-hit != 'true' && inputs.forge_version == 'local'
32
35
shell : bash
33
36
run : |
34
- earthly --artifact ./forge/cli+build/forge /usr/local/bin/forge
37
+ echo "::group::Forge CLI Earthly Build"
38
+ earthly --artifact ./forge/cli+build/forge /usr/local/bin/forge
39
+ echo "::endgroup::"
35
40
36
41
# AWS Provider
37
42
- name : Get AWS provider configuration
38
43
id : aws
39
44
shell : bash
40
45
run : |
41
- echo "::group:: AWS Setup"
46
+ echo "==== AWS Setup ===== "
42
47
BP=$(forge blueprint dump .)
43
48
44
49
AWS=$(echo "$BP" | jq -r .ci.providers.aws)
68
73
id : docker
69
74
shell : bash
70
75
run : |
71
- echo "::endgroup::"
72
- echo "::group::Docker Setup"
76
+ echo "==== Docker Setup ====="
73
77
BP=$(forge blueprint dump .)
74
78
75
79
DOCKER=$(echo "$BP" | jq -r .ci.providers.docker.credentials)
@@ -101,8 +105,7 @@ runs:
101
105
id : github
102
106
shell : bash
103
107
run : |
104
- echo "::endgroup::"
105
- echo "::group::Docker Setup"
108
+ echo "==== GitHub Setup ====="
106
109
BP=$(forge blueprint dump .)
107
110
108
111
GITHUB=$(echo "$BP" | jq -r .ci.providers.github.registry)
@@ -124,8 +127,7 @@ runs:
124
127
id : earthly
125
128
shell : bash
126
129
run : |
127
- echo "::endgroup::"
128
- echo "::group::Earthly Setup"
130
+ echo "==== Earthly Setup ====="
129
131
BP=$(forge blueprint dump .)
130
132
131
133
EARTHLY=$(echo "$BP" | jq -r .ci.providers.earthly)
0 commit comments