File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
.github/actions/cache-typst Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 99 value : ${{ steps.cache-typst-restore.outputs.cache-primary-key }}
1010 cache-matched-key :
1111 description : " Key of the cache found and used."
12- value : ${{ steps.cache-typst-restore.outputs.cache-primary -key }}
12+ value : ${{ steps.cache-typst-restore.outputs.cache-matched -key }}
1313 cache-path :
1414 description : " where is the packages cache for typst ?"
1515 value : ${{ steps.cache-typst-path.outputs.TYPST_CACHE }}
@@ -22,20 +22,21 @@ runs:
2222 run : |
2323 case $RUNNER_OS in
2424 "Linux")
25- echo "TYPST_CACHE= ${XDG_CACHE_HOME:-~/.cache}/typst/packages/" >> $GITHUB_ENV
25+ typst_cache=" ${XDG_CACHE_HOME:-~/.cache}/typst/packages/"
2626 ;;
2727 "macOS")
28- echo "TYPST_CACHE= ~/Library/Caches/typst/packages/" >> $GITHUB_ENV
28+ typst_cache=" ~/Library/Caches/typst/packages/"
2929 ;;
3030 "Windows")
31- echo "TYPST_CACHE= $LOCALAPPDATA/typst/packages/" >> $GITHUB_ENV
31+ typst_cache=" $LOCALAPPDATA/typst/packages/"
3232 ;;
3333 *)
3434 echo "$RUNNER_OS not supported"
3535 exit 1
3636 ;;
3737 esac
38- echo "TYPST_CACHE=${TYPST_CACHE}" >> $GITHUB_OUTPUT
38+ echo "TYPST_CACHE=${typst_cache}" >> $GITHUB_ENV
39+ echo "TYPST_CACHE=${typst_cache}" >> $GITHUB_OUTPUT
3940 shell : bash
4041
4142 - name : Cache Typst package folder
You can’t perform that action at this time.
0 commit comments