From 885487de2b302c9e0ccb501556232e272508a803 Mon Sep 17 00:00:00 2001 From: clragon Date: Mon, 28 Oct 2024 13:55:54 +0100 Subject: [PATCH] feat: add publishing workflow --- .github/workflows/publish.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..b3035c8 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,21 @@ +name: publish + +on: + workflow_dispatch: + +jobs: + publish: + permissions: + id-token: write + runs-on: ubuntu-latest + # uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 + steps: + - uses: actions/checkout@v4 + - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + - uses: subosito/flutter-action@v2 + - name: Install dependencies + run: dart pub get + - name: Publish - dry run + run: dart pub publish --dry-run + # - name: Publish to pub.dev + # run: dart pub publish -f