Skip to content

Commit

Permalink
Update Pub cache key in tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed Aug 22, 2024
1 parent c80aaf4 commit 2463319
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/checkout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,15 @@ jobs:
$HOME/.pub-cache
key: ${{ runner.os }}-spinify-${{ env.pub-cache-name }}-${{ hashFiles('pubspec.yaml') }}

- name: 🗄️ Export Pub cache directory
id: export-pub-cache
timeout-minutes: 1
run: |
export PUB_CACHE=$HOME/.pub-cache
export PATH="$PATH":"$HOME/.pub-cache/bin"
- name: 👷 Install Dependencies
id: install-dependencies
timeout-minutes: 1
run: |
export PUB_CACHE=$HOME/.pub-cache
export PATH="$PATH":"$HOME/.pub-cache/bin"
dart pub get --no-example
echo "PUB_CACHE=$PUB_CACHE"
ls -la $PUB_CACHE
ls -la $HOME/.pub-cache
- name: 📥 Save Pub modules
id: cache-pub-save
Expand Down

0 comments on commit 2463319

Please sign in to comment.