From 1b31d1492ddd42c0ad11bb41b682755cc26d306b Mon Sep 17 00:00:00 2001 From: Kypsis Date: Fri, 28 Jul 2023 00:34:32 +0300 Subject: [PATCH] fix: Add automation to publish to pub.dev --- .../{analyze_and_test.yaml => analyze_and_test.yml} | 0 .github/workflows/publish.yml | 10 ++++++++++ 2 files changed, 10 insertions(+) rename .github/workflows/{analyze_and_test.yaml => analyze_and_test.yml} (100%) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/analyze_and_test.yaml b/.github/workflows/analyze_and_test.yml similarity index 100% rename from .github/workflows/analyze_and_test.yaml rename to .github/workflows/analyze_and_test.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000..098485e4 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,10 @@ +name: Publish to pub.dev + +on: + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+*' + +jobs: + publish: + uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 \ No newline at end of file