Skip to content

Doesn't work? #22

@rchl

Description

@rchl

It doesn't feel like it's working:

      - name: Get latest release of rust-analyzer
        uses: rez0n/[email protected]
        id: latest_ra
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          repository: 'rust-lang/rust-analyzer'
          type: stable

I'm getting:

  File "/entrypoint.py", line 13, in <module>
    repo = G.get_repo(repository)
  File "/usr/local/lib/python3.10/site-packages/github/MainClass.py", line 375, in get_repo
    assert isinstance(full_name_or_id, (str, int)), full_name_or_id
AssertionError: None

So it looks like the "repository" input is not actually passed to the python script.

According to github documentation it appears that it's necessary to pass inputs as args in action.yml but I don't see that being done here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions