File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 3030 - name : Setup Smithy CLI
3131 uses : ./.github/actions/setup-smithy
3232
33+ - name : Cache build output
34+ uses : actions/cache@v4
35+ with :
36+ path : |
37+ build/
38+ dist/
39+ key : build-${{ hashFiles('models/**', 'service/**', 'smithy-build.json') }}
40+ restore-keys : |
41+ build-
42+
3343 - name : Build
3444 run : yarn build
3545
6070 - name : Setup Smithy CLI
6171 uses : ./.github/actions/setup-smithy
6272
73+ - name : Cache build output
74+ uses : actions/cache@v4
75+ with :
76+ path : |
77+ build/
78+ dist/
79+ key : build-${{ hashFiles('models/**', 'service/**', 'smithy-build.json') }}
80+ restore-keys : |
81+ build-
82+
6383 - name : Build
6484 run : yarn build
6585
@@ -99,6 +119,16 @@ jobs:
99119 - name : Setup Smithy CLI
100120 uses : ./.github/actions/setup-smithy
101121
122+ - name : Cache build output
123+ uses : actions/cache@v4
124+ with :
125+ path : |
126+ build/
127+ dist/
128+ key : build-${{ hashFiles('models/**', 'service/**', 'smithy-build.json') }}
129+ restore-keys : |
130+ build-
131+
102132 - name : Build
103133 run : yarn build
104134
You can’t perform that action at this time.
0 commit comments