diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index f0cc574ccc..b68158dc42 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,6 +1,6 @@ # A CI configuration to auto-publish pub packages. -name: Publish +name: Publish Dart Packages on: pull_request: @@ -12,6 +12,8 @@ jobs: publish: if: ${{ github.repository_owner == 'dart-lang' }} uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main + with: + ignore-packages: pkgs/cupertino_http,pkgs/cronet_http,pkgs/ok_http permissions: id-token: write # Required for authentication using OIDC pull-requests: write # Required for writing the pull request note diff --git a/.github/workflows/publish_flutter.yaml b/.github/workflows/publish_flutter.yaml new file mode 100644 index 0000000000..b42393e091 --- /dev/null +++ b/.github/workflows/publish_flutter.yaml @@ -0,0 +1,20 @@ +# A CI configuration to auto-publish pub packages. + +name: Publish Flutter Packages + +on: + pull_request: + branches: [ master ] + push: + tags: [ '[A-z]+-v[0-9]+.[0-9]+.[0-9]+' ] + +jobs: + publish: + if: ${{ github.repository_owner == 'dart-lang' }} + uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main + with: + use-flutter: true + ignore-packages: pkgs/http,pkgs/http_profile,pkgs/web_socket + permissions: + id-token: write # Required for authentication using OIDC + pull-requests: write # Required for writing the pull request note