From 9ecab1ab6501c3262255f153ed99c92fe04046ce Mon Sep 17 00:00:00 2001 From: Ali Almoullim Date: Thu, 20 Jul 2023 12:08:02 +0300 Subject: [PATCH] Update dart.yml --- .github/workflows/dart.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index e1d8a34..686d05d 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -9,6 +9,18 @@ on: jobs: publish: + runs-on: ubuntu-latest permissions: id-token: write # Required for authentication using OIDC - uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 + + steps: + - name: Install Dart + uses: dart-lang/setup-dart@v1 + with: + sdk: stable + + - name: Install Flutter + uses: subosito/flutter-action@v2 + + - name: Publish to pub.dev + run: flutter pub publish --force