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 @@ -112,6 +112,27 @@ jobs:
112112 with :
113113 arch : ${{ matrix.config.arch }}
114114
115+ - name : Get gzip command w/ chocolatey
116+ uses : crazy-max/ghaction-chocolatey@v2
117+ with :
118+ args : install gzip -y
119+
120+ # http://man7.org/linux/man-pages/man1/date.1.html
121+ - name : Get Date
122+ id : get-date
123+ run : |
124+ echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
125+ shell : bash
126+
127+ - name : Restore cached packages of vcpkg
128+ id : cache-vcpkg-sources
129+ uses : actions/cache/restore@v3
130+ with :
131+ path : |
132+ C:\vcpkg\packages
133+ key : ${{ runner.os }}-${{ matrix.config.arch }}-vcpkg
134+ enableCrossOsArchive : false
135+
115136 - name : Build openssl with vcpkg
116137 run : |
117138 C:\vcpkg\vcpkg install --recurse openssl --triplet ${{ matrix.config.vcpkg_triplet }}
@@ -122,6 +143,15 @@ jobs:
122143 C:\vcpkg\vcpkg install --recurse libyaml --triplet ${{ matrix.config.vcpkg_triplet }}
123144 shell : cmd
124145
146+ - name : Save packages of vcpkg
147+ id : save-vcpkg-sources
148+ uses : actions/cache/save@v3
149+ with :
150+ path : |
151+ C:\vcpkg\packages
152+ key : ${{ steps.cache-vcpkg-sources.outputs.cache-primary-key }}-${{ steps.get-date.outputs.date }}
153+ enableCrossOsArchive : false
154+
125155 - name : Build Fluent Bit packages
126156 # If we are using 2.0.* or earlier we need to exclude the ARM64 build as the dependencies fail to compile.
127157 # Trying to do via an exclude for the job triggers linting errors.
You can’t perform that action at this time.
0 commit comments