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 949fa11 commit b91190f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ jobs:
PUBDEV_TOKEN: ${{ secrets.PUBDEV_TOKEN }}
run: |
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
echo "$PUBDEV_TOKEN" > "$XDG_CONFIG_HOME/dart/pub-credentials.json"
cat "$XDG_CONFIG_HOME/dart/pub-credentials.json" # Debug to ensure the file is created correctly
- name: Publish to pub.dev (dry run)
run: flutter pub publish --dry-run
Expand Down

0 comments on commit b91190f

Please sign in to comment.