Skip to content

Commit

Permalink
👷 Store credential under the XDG_CONFIG_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Mar 8, 2024
1 parent 07f0415 commit 7918def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish_on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ jobs:
- name: Write token to local
run: |
mkdir -p ~/.config/dart
echo ${{ secrets.CREDENTIAL_JSON }} > ~/.config/dart/pub-credentials.json
echo '${{ secrets.PUB_CREDENTIALS }}' > "$XDG_CONFIG_HOME/dart/pub-credentials.json"
- name: Publish to pub.dev
run: melos publish --yes --no-dry-run

0 comments on commit 7918def

Please sign in to comment.