Skip to content

cp: cannot stat 'src/editor/*.{html,js,css,svg}': No such file or directory #113

Closed
@mac2000

Description

I do not know why but suddenly this one:

cp src/editor/*.{html,js,css,svg} dist/editor

stops working in github actions and complaining with error cp: cannot stat 'src/editor/*.{html,js,css,svg}': No such file or directory

after trying bazillion of workarounds the only way I was managed to pass actions was kind of ugly workaround like this one:

cp src/editor/*.html dist/editor && cp src/editor/*.js dist/editor && cp src/editor/*.css dist/editor && cp src/editor/*.svg dist/editor

did tried on macos so it is definitely not related to windows and after all locally everything is ok and working as expected

wondering if I am the only one who experiencing this one

way to reproduce:

  • fork repo
  • perform any change
  • go to forked repo actions

BTW: @types/express should be downgraded to 4.17.1 to match installed express version otherwise build is broken

PS: did also checked thins one runs-on: ubuntu-latest in ci.yml which might cause this, but no, it still does not work even after telling it concrete ubuntu version

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions