Giter Club home page Giter Club logo

Comments (9)

dawidd6 avatar dawidd6 commented on August 28, 2024

Workflow should be a filename.

from action-download-artifact.

 avatar commented on August 28, 2024

I tried hardcoding it to "stage1.yml" (which is the name of the workflow file in the stage1 workflow) and got the same results:

Run echo "$CLIENT_PAYLOAD_CONTEXT"
{
  "ref": "refs/heads/main",
  "repo": "impinj-di/stage1",
  "run_id": "965356013",
  "sha": "7b6f14dc363158c7370c9549130a776f48b4fefe",
  "workflow": "Stage1"
}

Run dawidd6/action-download-artifact@v2
==> Workflow: stage1.yml
==> Repo: myorg/stage1
==> Conclusion: completed,success
==> RunID: 965356013
Error: Not Found

from action-download-artifact.

 avatar commented on August 28, 2024

Is there some way to turn on extended debugging/logging for your action, in order to see what is going on?

from action-download-artifact.

dawidd6 avatar dawidd6 commented on August 28, 2024

No.

Are those 2 workflows in 2 separate repos?

from action-download-artifact.

 avatar commented on August 28, 2024

Yes, two separate repos each with their own workflow. "Stage1" repo has "Stage1" workflow, and "Stage2" repo has "Stage2" workflow.

from action-download-artifact.

dawidd6 avatar dawidd6 commented on August 28, 2024

Then you need to set the token.

from action-download-artifact.

 avatar commented on August 28, 2024

OK, and in this case, the token would be for the "Stage1" repo, and it would need repo read permissions?

from action-download-artifact.

dawidd6 avatar dawidd6 commented on August 28, 2024

A personal access token with public_repo scope IIRC.

from action-download-artifact.

 avatar commented on August 28, 2024

Using a PAT with the appropriate permissions with the "github_token" arg seems to have gotten things to work. Thank you!

from action-download-artifact.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.