Skip to content

Commit

Permalink
fix cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Pari Work Temp committed Aug 13, 2024
1 parent bd639ce commit fdb343a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-json.lock') }}
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: 🏗 Setup Node
uses: actions/setup-node@v4
with:
Expand Down
8 changes: 2 additions & 6 deletions {{cookiecutter.project_slug}}/scripts/setup_mobile_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# for debugging

set -e
set -x
# set -e
# set -x

# base_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

Expand All @@ -24,10 +24,6 @@ while IFS= read -r line; do
config_vars+=("$line")
done < <(grep -o "REPLACE_WITH_[A-Z_]*" "$config_file")

# while IFS= read -r line; do
# merged_arr+=("$line")
# done < <(grep -o "REPLACE_WITH_[A-Z_]*" "$defaults_file")


for i in "${config_vars[@]}"; do
value=$(grep -o "$i=.*" "$defaults_file") || echo ""
Expand Down

0 comments on commit fdb343a

Please sign in to comment.