From ddbe730aacb99b3d8b83f44cfccac97816f9b7e8 Mon Sep 17 00:00:00 2001 From: Rastislav Date: Fri, 21 Aug 2026 20:27:20 +0200 Subject: [PATCH] fix --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 266d4d5..a00c094 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,9 +26,11 @@ jobs: run: dart pub get - name: Set up pub.dev credentials + env: + PUB_CREDENTIALS_JSON: ${{ secrets.PUB_CREDENTIALS_JSON }} run: | mkdir -p "$HOME/.config/dart" - printf '%s' '${{ secrets.PUB_CREDENTIALS_JSON }}' | jq '.' > "$HOME/.config/dart/pub-credentials.json" + printf '%s' "$PUB_CREDENTIALS_JSON" | jq -e '.' > "$HOME/.config/dart/pub-credentials.json" - name: Verify formatting run: dart format --output=none --set-exit-if-changed .