Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inputs missing #2

Closed
laszabine opened this issue Jun 2, 2020 · 1 comment
Closed

Inputs missing #2

laszabine opened this issue Jun 2, 2020 · 1 comment

Comments

@laszabine
Copy link

I'm using your action in my workflow like so:

jobs: 
  x: 
    steps: 
      - name: "Read latest release version"
        id: read-latest-release-version
        uses: pozetroninc/github-action-get-latest-release@master
        with:
            repository: ${{ github.repository }}

and I receive the following error:

##[warning]Unexpected input 'repository', valid inputs are ['']
Run pozetroninc/github-action-get-latest-release@master
  with:
    repository: rarusel/terra-snellman
##[error]Cannot read property 'tag_name' of undefined

I don't know much about actions/workflows yet, but this seems consistent with the fact that your action.yaml does not list any input parameters.
If this is indeed the source of my problem, would you mind fixing it?
If not, do you have any recommendations why else I might be getting this error?
Thanks!

@neil-pozetroninc
Copy link
Contributor

Hi @laszabine, @foosel created a PR to fix this which I just merged. Thanks for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants