JackMcKew / pyinstaller-action-windows

Github Action for building executables with Pyinstaller
MIT License
168 stars 67 forks source link

"OSError: [WinError 123] Invalid name: '/tmp\\*' despite 'src' directory. #10

Closed akai-katto closed 2 years ago

akai-katto commented 3 years ago

Hello, I was trying to give the plugin a try. The python code of my project is located under 'src', so I tried running the default config you provided, but ran into the issue you described in the FAQ.

The build log can be found here:

https://github.com/akai-katto/dandere2x/runs/1788803209?check_suite_focus=true

The workflow config can be found here

https://github.com/akai-katto/dandere2x/blob/master/.github/workflows/main.yml

And my python source directory is here:

https://github.com/akai-katto/dandere2x/tree/master/src

Let me know if you see anything wrong, I'm not sure if I'm missing something / I'm still learning Github actions.

AndersSteenNilsen commented 3 years ago

Try to remove your *.spec from .gitignore and upload a .spec file.

Myrnedraith commented 2 years ago

Try to remove your *.spec from .gitignore and upload a .spec file.

This works; alternatively, you can also tell it to use the python file specifically as the spec if you aren't doing anything special like a single file.