From b3df708421fcc1f612dc06dd418e162fe0d35c48 Mon Sep 17 00:00:00 2001
From: Bartek Pacia <bartek.pacia@leancode.pl>
Date: Fri, 17 Feb 2023 16:30:47 +0100
Subject: [PATCH] add dart-lang/setup-dart action to patrol-publish.yaml

---
 .github/workflows/patrol-publish.yaml | 6 ++++++
 packages/patrol/CHANGELOG.md          | 1 +
 2 files changed, 7 insertions(+)

diff --git a/.github/workflows/patrol-publish.yaml b/.github/workflows/patrol-publish.yaml
index eb8448306..bd4616010 100644
--- a/.github/workflows/patrol-publish.yaml
+++ b/.github/workflows/patrol-publish.yaml
@@ -21,6 +21,12 @@ jobs:
       - name: Clone repository
         uses: actions/checkout@v3
 
+      # This action adds a token needed for pub.dev
+      - name: Install Dart
+        uses: dart-lang/setup-dart@v1
+        with:
+          sdk: stable
+
       - name: Install Flutter
         uses: subosito/flutter-action@v2
         with:
diff --git a/packages/patrol/CHANGELOG.md b/packages/patrol/CHANGELOG.md
index 6f79a1ef6..08b68c893 100644
--- a/packages/patrol/CHANGELOG.md
+++ b/packages/patrol/CHANGELOG.md
@@ -7,6 +7,7 @@
   in more detail.
 
 - Use automated publishing with GitHub Actions on pub.dev (#953) (#955) (#956)
+  (#957)
 
 ## 1.0.1