From 7049e5265ec7a105d9f224b4dbabb40ec1f0508a Mon Sep 17 00:00:00 2001 From: Eka Setiawan Saputra Date: Mon, 7 Aug 2023 21:10:08 +0700 Subject: [PATCH] Update pub.yml --- .github/workflows/pub.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pub.yml b/.github/workflows/pub.yml index e4b13364..378df24b 100644 --- a/.github/workflows/pub.yml +++ b/.github/workflows/pub.yml @@ -17,14 +17,17 @@ jobs: steps: - uses: actions/checkout@v3 - - name: '>> Dart package <<' - uses: k-paxian/dart-package-publisher@master + - name: Prepare credentials + run: | + echo ${{ secrets.PUB_CREDENTIAL }} > ~/.config/dart/pub-credentials.json + - name: Install Flutter + id: install + continue-on-error: true + uses: subosito/flutter-action@v1 with: - accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }} - refreshToken: ${{ secrets.OAUTH_REFRESH_TOKEN }} - dryRunOnly: true + channel: "stable" - name: 'Get Dependencies' - run: dart pub get + run: flutter pub get - name: 'Install melos' run: dart pub global activate melos - name: 'Update versions'