diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1059862..ad8b29e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,12 +5,6 @@ version: 2 updates: - - package-ecosystem: "pub" - directory: "/" - schedule: - interval: "weekly" - time: "09:00" - timezone: Europe/Madrid - package-ecosystem: "pub" directory: "/example/" schedule: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..8105a6d --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,14 @@ +name: Publish to pub.dev + +on: + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+*' + +jobs: + publish: + permissions: + id-token: write # Required for authentication using OIDC + uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 + # with: + # working-directory: path/to/package/within/repository \ No newline at end of file