Skip to content

Commit

Permalink
dev: sync registry implementation from tinymist (#620)
Browse files Browse the repository at this point in the history
* dev: sync registry implementation from tinymist

* fix: temporary solution to make directory
  • Loading branch information
Myriad-Dreamin authored Dec 28, 2024
1 parent 1b6e29c commit 7c7d8dc
Show file tree
Hide file tree
Showing 2 changed files with 255 additions and 91 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/gh_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,20 @@ jobs:
uses: actions/checkout@v3
with:
submodules: 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: Install Mold
uses: rui314/setup-mold@v1
- name: Install Rust
Expand Down
Loading

0 comments on commit 7c7d8dc

Please sign in to comment.