Skip to content

Commit

Permalink
Merge pull request #7 from mobilecoinofficial/fix-cache-dirs
Browse files Browse the repository at this point in the history
create cache path directories
  • Loading branch information
jgreat authored Sep 15, 2023
2 parents 1854641 + 9040299 commit 25e20dd
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cache-cargo-packages/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ outputs:
runs:
using: composite
steps:
- name: Create cache directories
shell: bash
run: |
read -r -d '' DIRS << EOF
${{ inputs.path }}
EOF
for d in ${DIRS}
do
mkdir -p "${d}"
done
- name: Cache rust build binaries
id: rust_artifact_cache
uses: actions/cache@v3
Expand Down
10 changes: 10 additions & 0 deletions cache-go-binaries/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ outputs:
runs:
using: composite
steps:
- name: Create cache directories
shell: bash
run: |
read -r -d '' DIRS << EOF
${{ inputs.path }}
EOF
for d in ${DIRS}
do
mkdir -p "${d}"
done
- name: Cache build binaries
id: cache
uses: actions/cache@v3
Expand Down
10 changes: 10 additions & 0 deletions cache-rust-binaries/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ outputs:
runs:
using: composite
steps:
- name: Create cache directories
shell: bash
run: |
read -r -d '' DIRS << EOF
${{ inputs.path }}
EOF
for d in ${DIRS}
do
mkdir -p "${d}"
done
- name: Cache rust build binaries
id: rust_artifact_cache
uses: actions/cache@v3
Expand Down

0 comments on commit 25e20dd

Please sign in to comment.