Skip to content

Commit

Permalink
Add mkdir before decompress cache
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-ho committed Aug 29, 2024
1 parent 729707e commit 05656e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ jobs:
- name: Decompress Go pkg if cache exists
run: |
if [ -f "$GOPATH/pkg.tar.zst" ]; then
mkdir -p $GOPATH/pkg
tar -I 'zstd -d' -xf $GOPATH/pkg.tar.zst -C $GOPATH/pkg
fi
Expand Down Expand Up @@ -190,6 +191,7 @@ jobs:
- name: Decompress Go pkg if cache exists
run: |
if [ -f "$GOPATH/pkg.tar.zst" ]; then
mkdir -p $GOPATH/pkg
tar -I 'zstd -d' -xf $GOPATH/pkg.tar.zst -C $GOPATH/pkg
fi
Expand Down Expand Up @@ -262,6 +264,7 @@ jobs:
- name: Decompress Go pkg if cache exists
run: |
if [ -f "$GOPATH/pkg.tar.zst" ]; then
mkdir -p $GOPATH/pkg
tar -I 'zstd -d' -xf $GOPATH/pkg.tar.zst -C $GOPATH/pkg
fi
Expand Down

0 comments on commit 05656e0

Please sign in to comment.