Skip to content

Commit

Permalink
fix: temporary solution to make directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Dec 28, 2024
1 parent e1cf236 commit 6c3b46a
Showing 1 changed file with 14 additions and 0 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

0 comments on commit 6c3b46a

Please sign in to comment.