Closed pavanpodila closed 4 years ago
You can completely omit the name
yourself, it's totally up to you to use it.
like this will work as well:
- uses: k-paxian/dart-package-publisher@master
with:
accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }}
refreshToken: ${{ secrets.OAUTH_REFRESH_TOKEN }}
If you want to describe this step put a descriptive name
- name: '>> Publish My Dart package <<'
uses: k-paxian/dart-package-publisher@master
with:
accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }}
refreshToken: ${{ secrets.OAUTH_REFRESH_TOKEN }}
Instead of relying on the
name
field for the package name, use a separate field, saypackageName
to capture the name of the package. Thename
field is used by Github to print the name of the action, which is a more user-friendly way of reading the step.Notice in the above picture, the name of the package is the only one that shows up, which makes it difficult to know what the step is doing.