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

The action doesn't work in our project #26

Open
akihironitta opened this issue May 29, 2022 · 1 comment
Open

The action doesn't work in our project #26

akihironitta opened this issue May 29, 2022 · 1 comment

Comments

@akihironitta
Copy link

First of all, thank you so much for creating this very useful action!


We're trying to utilise this action, but it doesn't work. Would it be possible for you to point out any possible causes making this action not working in our setting?

Following the README.md, I see its debug-level log by enabling ACTIONS_STEP_DEBUG=true, but I don't see any relevant information there:

Our workflow file in master:

on: [status]
jobs:
  circleci_artifacts_redirector_job:
    runs-on: ubuntu-20.04
    steps:
    - uses: larsoner/circleci-artifacts-redirector-action@master
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}
        artifact-path: 0/html/index.html
        circleci-jobs: build-Docs
        job-title: Check the rendered docs here!

https://github.com/PyTorchLightning/pytorch-lightning/blob/a6e9bc2943bf2c82036e31a4948bd8caa54957ee/.github/workflows/docs-link.yml

Our CircleCI job that generates artifacts:
https://github.com/PyTorchLightning/pytorch-lightning/blob/a6e9bc2943bf2c82036e31a4948bd8caa54957ee/.circleci/config.yml#L162

Any help is welcome. Thank you in advance.

@larsoner
Copy link
Collaborator

Your circleci workflow appears to be named build-docs, even though the job is named build-Docs. Can you try the all-lower version? I guess our var should be named circleci-workflows: rather than circleci-jobs since only workflow statuses are reported (and hence it's what we use).

At least I hope that's the issue!

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