act: action.yaml: no such file or directory

my main.yml

name: Update Price
on: push

jobs:
  scrape:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [13.x]

    steps:
      - uses: actions/checkout@v2
      - name: Use Node.js ${{ matrix.node-version }}
        uses: actions/setup-node@v1.4.2
        with:
          node-version: ${{ matrix.node-version }}
      - name: npm install, build, & run
        run: |
          npm i -g yarn
          yarn install
      - name: Run price check
        uses: ianwalter/puppeteer@cbdd5c50c8d6b6275cdf46e4ad2b3f7ee61211ce
        with:
            args: yarn run update-price
      - name: Deploy to gh-pages
        uses: peaceiris/actions-gh-pages@v3
        with:
            github_token: ${{ secrets.GITHUB_TOKEN }}
            publish_dir: ./data

my .actrc

-P ubuntu-latest=nektos/act-environments-ubuntu:18.04

Getting an error running it

[Update Price]   ❌  Failure - Run price check
Error: open [User directory]/.cache/act/ianwalter-puppeteer@cbdd5c50c8d6b6275cdf46e4ad2b3f7ee61211ce/action.yaml: no such file or directory

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 10
  • Comments: 16 (11 by maintainers)

Commits related to this issue

Most upvoted comments

I have the same problem when I reference a local DockerAction without an action.yaml but only a Dockerfile. This is working when running on github but not with act locally.

Issue is stale and will be closed in 14 days unless there is new activity

@github-actions bot I think this is still relevant.

Bad bot

This issue is almost certainly still valid (I’m not a fan of that bot)

Issue is stale and will be closed in 7 days unless there is new activity

@benwinding: I suspect the lack of handling for branch name might be handled for nektos/act#62, otherwise, it deserves its own issue.