mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-08-04 18:28:02 +00:00
fix: bad directories not found (#695)
This commit is contained in:
parent
de130dcc2c
commit
0a008c8cc5
1 changed files with 14 additions and 0 deletions
14
.github/workflows/gh_pages.yml
vendored
14
.github/workflows/gh_pages.yml
vendored
|
@ -26,6 +26,20 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- run: git submodule update --init --recursive
|
||||
- name: Make directories
|
||||
run: |
|
||||
if [ ! -d "${XDG_DATA_HOME:-$HOME/.local/share}" ]; then
|
||||
echo "Creating data directory: ${XDG_DATA_HOME:-$HOME/.local/share}"
|
||||
mkdir -p ${XDG_DATA_HOME:-$HOME/.local/share}
|
||||
else
|
||||
echo "Data directory already exists: ${XDG_DATA_HOME:-$HOME/.local/share}"
|
||||
fi
|
||||
if [ ! -d "${XDG_CACHE_HOME:-$HOME/.cache}" ]; then
|
||||
echo "Creating cache directory: ${XDG_CACHE_HOME:-$HOME/.cache}"
|
||||
mkdir -p ${XDG_CACHE_HOME:-$HOME/.cache}
|
||||
else
|
||||
echo "Cache directory already exists: ${XDG_CACHE_HOME:-$HOME/.cache}"
|
||||
fi
|
||||
- name: Download font assets
|
||||
# use fonts in stable releases
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue