k-paxian / dart-package-publisher

Action to Publish Dart / Flutter Package To https://pub.dev When you need to publish a package, just bump the version in pubspec.yaml
MIT License
66 stars 10 forks source link

Flutter plugin support error #8

Closed yeikel16 closed 3 years ago

yeikel16 commented 4 years ago

This is my workflow file:

name: Publish to Pub.dev

on:
  push:
    branches: [ Yeikel200-patch-1 ]

jobs:
  publishing:
    runs-on: ubuntu-latest
    steps:
      - name: 'Checkout'
        uses: actions/checkout@v2 # required!

      - name: 'ir_sensor_plugin'
        uses: k-paxian/dart-package-publisher@master
        with:
          accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }}
          refreshToken: ${{ secrets.OAUTH_REFRESH_TOKEN }}
          credentialJson: ${{ secrets.CREDENTIAL_JSON }}
          dryRunOnly: true

This is the LOG:

2020-06-12T17:55:26.6931792Z commit 37389951ae792fc3777dd9e0c70ed16f4cebac35
2020-06-12T17:55:26.6932520Z Author: Yeikel Uriarte Arteaga <Yeikel200@users.noreply.github.com>
2020-06-12T17:55:26.6933122Z Date:   Fri Jun 12 13:52:17 2020 -0500
2020-06-12T17:55:26.6933218Z 
2020-06-12T17:55:26.6933423Z     Add credentialJson
2020-06-12T17:55:26.7058277Z ##[group]Run k-paxian/dart-package-publisher@master
2020-06-12T17:55:26.7058481Z with:
2020-06-12T17:55:26.7059199Z   accessToken: ***
2020-06-12T17:55:26.7060498Z   refreshToken: ***
2020-06-12T17:55:26.7061709Z   credentialJson: ***
2020-06-12T17:55:26.7061906Z   dryRunOnly: true
2020-06-12T17:55:26.7062083Z   skipTests: false
2020-06-12T17:55:26.7062719Z   suppressBuildRunner: false
2020-06-12T17:55:26.7063280Z ##[endgroup]
2020-06-12T17:55:26.7091554Z ##[command]/usr/bin/docker run --name d3b1bc312edeed4d45b6d7826ee60b428c_5bff95 --label 3888d3 --workdir /github/workspace --rm -e INPUT_ACCESSTOKEN -e INPUT_REFRESHTOKEN -e INPUT_CREDENTIALJSON -e INPUT_DRYRUNONLY -e INPUT_RELATIVEPATH -e INPUT_SKIPTESTS -e INPUT_SUPPRESSBUILDRUNNER -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/ir_sensor_plugin/ir_sensor_plugin":"/github/workspace" 3888d3:b1bc312edeed4d45b6d7826ee60b428c
2020-06-12T17:55:27.2758248Z Check inputs...
2020-06-12T17:55:27.2766622Z OK
2020-06-12T17:55:27.2827712Z Package dir: /github/workspace
2020-06-12T17:55:27.4737719Z Because ir_sensor_plugin requires the Flutter SDK, version solving failed.
2020-06-12T17:55:27.4739592Z 
2020-06-12T17:55:27.4743315Z Flutter users should run `flutter pub get` instead of `pub get`.
2020-06-12T17:55:27.6977883Z Because ir_sensor_plugin requires the Flutter SDK, version solving failed.
2020-06-12T17:55:27.6982279Z 
2020-06-12T17:55:27.7000896Z Flutter users should run `flutter pub get` instead of `pub get`.
2020-06-12T17:55:27.9123248Z Could not find a file named "pubspec.yaml" in "/github/home/.pub-cache/hosted/pub.dartlang.org/async-2.4.1".
2020-06-12T17:55:27.9415574Z 
2020-06-12T17:55:27.9468996Z /entrypoint.sh: line 55: lines: bad array subscript
2020-06-12T17:55:28.1259968Z Post job cleanup.
2020-06-12T17:55:28.2318365Z [command]/usr/bin/git version
2020-06-12T17:55:28.2398522Z git version 2.27.0
2020-06-12T17:55:28.2432463Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2020-06-12T17:55:28.2475007Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2020-06-12T17:55:28.2747746Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2020-06-12T17:55:28.2782449Z http.https://github.com/.extraheader
2020-06-12T17:55:28.2790918Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2020-06-12T17:55:28.2831493Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2020-06-12T17:55:28.3185938Z Cleaning up orphan processes
k-paxian commented 4 years ago

Flutter plugins support has not been implemented and advertised, so it's an pure enhancement. PR is welcomed!