phishy / wflow

🐆 EXPERIMENTAL -- Runs GitHub Actions workflows locally (local) -- Don't run your YAML like a 🐪

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for plugin actions

chrahunt opened this issue · comments

See actions/checkout. This currently fails because we're looking for a Dockerfile in the cloned action.

Currently, only the checkout action is supported, well, sort of ;-) 43e5f76

Made some progress here on the checkout plugin. https://github.com/phishy/wflow/blob/master/plugins/checkout/index.js

@chrahunt What other plugins are you aware of / interest you?

actions/upload-artifact and actions/download-artifact are the only others I know of. A search of the actions org only shows these three.

We may be able to confirm it from the runner source, but I don't know if that's available.

+1 for this functionality. Would love to see actions/setup-python and actions/setup-node. Also, looking at the org, I see 42 repos that would benefit from this.

Technically those aren't plugins, they're JavaScript actions, and there's another ticket for it here. Relevant code modification point would be here. Let's do it! ;-)

I wasn't aware of the distinction, I'll have to look into it :)

commented

👋 hey guys, not sure if this is separate or not but trying to run this and I get stuck at

✖  error     git clone https://github.com/Borales/actions-yarn.git 

I'm guessing, when it hits:

    runs-on: ubuntu-latest
    if: "! contains(github.event.head_commit.message, '[skip ci]')"
    steps:
      - uses: actions/checkout@v1
      - uses: Borales/actions-yarn@master
      - run: yarn
      - run: yarn test

Am I barking up the wrong tree/issue or am I doing something wrong?

@markkelsall This is pretty alpha software, and I haven't been giving it as much love lately as I'd like. I wouldn't waste too much time on it right now, there could be a number of things wrong including authentication troubles.

commented

@phishy ok, cheers for the quick reply. Really looking for something to test this locally as it would save so much time...and tiny commits!