File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -11,22 +11,23 @@ jobs:
11
11
env :
12
12
JBAKE_VERSION : " 2.6.7"
13
13
JBAKE_SHA1 : " fd07b833104f2889fde9a07d0c0bf09f0fdecbf6"
14
+ ACTIONS_CACHE_VERSION : 1
14
15
steps :
15
16
- uses : actions/checkout@v2
16
- - name : Cache
17
+ - name : JBake Cache
17
18
uses : actions/cache@v2
18
19
with :
19
20
path : |
20
21
downloads/*.zip
21
- key : ${{ runner.os }}-${{ env.JBAKE_VERSION }}
22
+ key : ${{ env.ACTIONS_CACHE_VERSION }}-${{ runner.os }}-${{ env.JBAKE_VERSION }}
22
23
- run : |
23
24
mkdir -p downloads
24
25
cd downloads
25
26
if [[ ! -f "jbake-${JBAKE_VERSION}-bin.zip" ]]; then
26
27
wget "https://github.com/jbake-org/jbake/releases/download/v${JBAKE_VERSION}/jbake-${JBAKE_VERSION}-bin.zip"
27
28
fi
28
29
sha1sum "jbake-${JBAKE_VERSION}-bin.zip"
29
- echo "${JBAKE_SHA1} jbake-${JBAKE_VERSION}-bin.zip.sha " > "jbake-${JBAKE_VERSION}-bin.zip.sha"
30
+ echo "${JBAKE_SHA1} jbake-${JBAKE_VERSION}-bin.zip" > "jbake-${JBAKE_VERSION}-bin.zip.sha"
30
31
sha1sum -c "jbake-${JBAKE_VERSION}-bin.zip.sha"
31
32
unzip "jbake-${JBAKE_VERSION}-bin.zip.sha"
32
33
ls
You can’t perform that action at this time.
0 commit comments