5151
5252 - name : Cache Zotero Bibliography
5353 id : cache-zotero-bib
54- uses : actions/cache@v3
54+ uses : actions/cache@v4
5555 env :
5656 cache-name : cache-zotero_bib
5757 with :
@@ -73,11 +73,11 @@ jobs:
7373
7474 - name : Cache Zotero Bibliography
7575 id : cache-zotero-bib
76- uses : actions/cache@v3
76+ uses : actions/cache@v4
7777 env :
7878 cache-name : cache-zotero_bib
7979 with :
80- path : ~/static/ data
80+ path : ~/data
8181 key : ${{ needs.check.outputs.zoteroVersion }}
8282 restore-keys : |
8383 ${{ needs.check.outputs.zoteroVersion }}
@@ -88,25 +88,25 @@ jobs:
8888 run : |
8989 if [[ "$CACHE_HIT" == 'true' ]]; then
9090 echo "Use Cache"
91- sudo cp --recursive ~/static/ data ${GITHUB_WORKSPACE}
91+ sudo cp --recursive ~/data ${GITHUB_WORKSPACE}/static
9292 ls -la ${GITHUB_WORKSPACE}/static/data
9393 else
9494 echo "Retrieve bibliography"
9595 cd scripts
9696 chmod +x ./update_bibliography.sh
9797 ./update_bibliography.sh
98- sudo cp --recursive ${GITHUB_WORKSPACE}/static/data ~/static/ data
98+ sudo cp --recursive ${GITHUB_WORKSPACE}/static/data ~/data
9999 fi
100100 shell : bash
101101
102102 - name : Setup Hugo
103- uses : peaceiris/actions-hugo@v2
103+ uses : peaceiris/actions-hugo@v3
104104 with :
105105 hugo-version : ' 0.122.0'
106106 extended : true
107107
108108 - name : Setup Node
109- uses : actions/setup-node@v3
109+ uses : actions/setup-node@v4
110110 with :
111111 node-version : 18
112112
@@ -118,7 +118,7 @@ jobs:
118118 run : hugo
119119
120120 - name : Deploy
121- uses : peaceiris/actions-gh-pages@v3
121+ uses : peaceiris/actions-gh-pages@v4
122122 if : github.ref == 'refs/heads/main'
123123 with :
124124 github_token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments