diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d16d590..845c932 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,8 +13,8 @@ jobs: - uses: k-paxian/dart-package-publisher@v1.6 id: flutter_publish with: - accessToken: ${{ secrets.FLUTTER_PUB_ACCESS_TOKEN }} - refreshToken: ${{ secrets.FLUTTER_PUB_REFRESH_TOKEN }} + accessToken: ${{ secrets.DART_PUB_ACCESS_TOKEN }} + refreshToken: ${{ secrets.DART_PUB_REFRESH_TOKEN }} skipTests: true flutter: true - id: set_status diff --git a/README.md b/README.md index 34aca81..51d4b46 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,17 @@ Make sure you are using supported one - Push with tags (`git push && git push --tags`) - Wait for CI task +### Manually publish + +- https://dart.dev/tools/pub/publishing + +```bash +dart pub publish + +# credentials file on macos +cat ~/Library/Application\ Support/dart/pub-credentials.json +``` + ## TODO - [ ] ⛔ is about `iOS with dylib`. There are .dylib files in build/ios/Debug-iphonesimulator/XCFrameworkIntermediates, but still... diff --git a/pubspec.yaml b/pubspec.yaml index 17c3544..211c348 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: libtdjson -description: A flutter plugin for [TDLib JSON interface](https://github.com/tdlib/td#using-from-other-programming-languages), ffi binding. +description: A flutter plugin for TDLib JSON interface, ffi binding. version: 0.2.0 homepage: https://github.com/up9cloud/flutter_libtdjson repository: https://github.com/up9cloud/flutter_libtdjson