diff --git a/.github/workflows/pubdev.yml b/.github/workflows/pubdev.yml deleted file mode 100644 index e70f36bdf..000000000 --- a/.github/workflows/pubdev.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Publish to Pub.dev 🚀 - -on: - release: - types: [published] - -jobs: - publishing: - runs-on: ubuntu-latest - steps: - - name: Checkout 🛎️ - uses: actions/checkout@v3 - - name: Check Versions 🔎 - run: | - set -eo pipefail - export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`) - export PUBSPEC_VERSION=$(grep 'version: ' pubspec.yaml | sed -e 's,.*: \(.*\),\1,') - if [ "$LIB_VERSION" != "$PUBSPEC_VERSION" ]; then - echo "Version in 'pubspec.yaml' does not match tag."; - exit 1; - fi - - name: Publish Dart Package 🚢 - id: publish - uses: k-paxian/dart-package-publisher@1.5 - with: - accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }} - refreshToken: ${{ secrets.OAUTH_REFRESH_TOKEN }}