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

Failing for a missing "version" file ? #4

Closed pavanpodila closed 4 years ago

pavanpodila commented 4 years ago

Here's the relevant log:

Run k-paxian/dart-package-publisher@master
/usr/bin/docker run --name dfbb2c8cfddd70640b69dcf1b0e8d71f2a0_d9063a --label 488dfb --workdir /github/workspace --rm -e INPUT_RELATIVEPATH -e INPUT_ACCESSTOKEN -e INPUT_REFRESHTOKEN -e INPUT_SUPPRESSBUILDRUNNER -e INPUT_FLUTTER -e INPUT_DRYRUNONLY -e INPUT_SKIPTESTS -e HOME -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -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_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 -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/mobx.dart/mobx.dart":"/github/workspace" 488dfb:b2c8cfddd70640b69dcf1b0e8d71f2a0
Check inputs...
OK
Switching to package directory 'mobx'
Package dir: /github/workspace/mobx
Cannot open file, path = 'version' (OS Error: No such file or directory, errno = 2)
out: 
Package: 
Local version: []
No package found. :(
k-paxian commented 4 years ago

Please switch yourself to the k-paxian/dart-package-publisher@1.0 I'm working on master

k-paxian commented 4 years ago

and/or you could give it a try to this one: https://github.com/sakebook/actions-flutter-pub-publisher

pavanpodila commented 4 years ago

seeing that you have commented

and/or you could give it a try to this one: https://github.com/sakebook/actions-flutter-pub-publisher

That package is missing outputs, which I need for my next steps. Yours is perfect :-). Will wait for you to support flutter