diff --git a/github/CODEOWNERS b/.github/CODEOWNERS similarity index 100% rename from github/CODEOWNERS rename to .github/CODEOWNERS diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..f38a16c --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,15 @@ +name: Publish to pub.dev + +on: + push: + tags: + # Releases + - '[0-9]+.[0-9]+.[0-9]+' + # Release Candidates + - '[0-9]+.[0-9]+.[0-9]+-rc[0-9]+' + +jobs: + publish: + permissions: + id-token: write # Required for authentication using OIDC + uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 \ No newline at end of file