Skip to content

Commit

Permalink
Fix pub-credentials.json location on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
FeodorFitsner committed Jun 7, 2023
1 parent a688776 commit 9c3173b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ build_script:
# publish package
- sh: |
if [[ "$APPVEYOR_REPO_TAG_NAME" != "" ]]; then
mkdir -p $HOME/.config/dart
echo $PUB_DEV_TOKEN | base64 --decode > $HOME/.config/dart/pub-credentials.json
mkdir -p $HOME/Library/Application\ Support/dart
echo $PUB_DEV_TOKEN | base64 --decode > $HOME/Library/Application\ Support/dart/pub-credentials.json
dart pub publish --force
elif [[ "$APPVEYOR_PULL_REQUEST_NUMBER" == "" ]]; then
dart pub publish --dry-run
Expand Down

0 comments on commit 9c3173b

Please sign in to comment.