diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4e09ce0..cfddf75 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,16 +5,5 @@ on: - main jobs: - publishing: - runs-on: ubuntu-latest - environment: 'pub creds' - steps: - - name: 'Checkout' - uses: actions/checkout@main # required! - - - name: 'Publishing' - uses: k-paxian/dart-package-publisher@master - with: - flutter: true - accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }} - refreshToken: ${{ secrets.OAUTH_REFRESH_TOKEN }} + publish: + uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main