Skip to content

Commit

Permalink
chore: Update PATH and Pub cache key in checkout.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed Aug 22, 2024
1 parent b55c039 commit fe6158b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/checkout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ jobs:
image: dart:stable
env:
pub-cache-name: pub
PUB_CACHE: $HOME/.pub-cache
PATH: $PATH:$HOME/.pub-cache/bin
PUB_CACHE: /github/home/.pub-cache
timeout-minutes: 10
steps:
- name: 🚂 Get latest code
Expand Down Expand Up @@ -59,10 +58,11 @@ jobs:
id: install-dependencies
timeout-minutes: 1
run: |
echo $PUB_CACHE >> $GITHUB_PATH
dart pub get --no-example
echo "PUB_CACHE=$PUB_CACHE"
echo "PUB_CACHE=${{ env.PUB_CACHE }}"
ls -la $HOME/.pub-cache
ls -la $PUB_CACHE
- name: 📥 Save Pub modules
id: cache-pub-save
Expand Down

0 comments on commit fe6158b

Please sign in to comment.