Skip to content

Commit

Permalink
Update dart.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mocolicious authored Aug 11, 2024
1 parent e43219b commit 949fa11
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
env:
PUBDEV_TOKEN: ${{ secrets.PUBDEV_TOKEN }}
run: |
mkdir -p ~/.pub-cache
echo "$PUBDEV_TOKEN" > ~/.pub-cache/credentials.json
cat ~/.pub-cache/credentials.json # Add debugging to ensure the file is created correctly
ls -la ~/.pub-cache # List contents of the directory for debugging
mkdir -p ~/.dart
echo "$PUBDEV_TOKEN" > ~/.dart/pub-credentials.json
cat ~/.dart/pub-credentials.json # Debug to ensure the file is created correctly
ls -la ~/.dart # List contents of the directory for debugging
- name: Publish to pub.dev (dry run)
run: flutter pub publish --dry-run
Expand Down

0 comments on commit 949fa11

Please sign in to comment.