Nuitka / Nuitka-Action

Action to build with Nuitka on GitHub in your workflows
MIT License
111 stars 22 forks source link

File that definitely exists in working directory is not found #52

Closed axQuadratic closed 1 month ago

axQuadratic commented 1 month ago

Not sure if this is the place for general support, but I really am at my wit's end here and do not see a better option. I am attempting to use this action in my repo to build an executable from a file in the repo's top level, main.py. Below is the yaml for the step in question:

- name: Build executable
  uses: Nuitka/Nuitka-Action@v1.1
  with:
    script-name: main.py
    standalone: true
    enable-console: true
    enable-plugins: tk-inter

The usage guide on this repo seems to suggest this is the way to go for what I'm trying to do, however, no matter what I try, I always receive the same error: FATAL: Error, file 'main.py' is not found. I have tried explicitly setting working-directory: ., but it does not make any difference. What am I doing wrong?

kayhayen commented 1 month ago

Do you have a reproducer repo?

axQuadratic commented 1 month ago

Assuming you mean what I think you mean, I threw one together here, with a workflow identical to the one I'm using in the repo with the issue. I've run it once already; it still throws the same error.

iferencz commented 1 month ago
      - name: Checkout Repository
        uses: actions/checkout@v4

add this step

kayhayen commented 1 month ago

I have updated the docs so they refer to the non-deprecated versions of checkout and setup-python and generally updated the wordings. I think we need a hello world flow in Nuitka organisation or under my private account maybe, for people to use, but I am busy with other things.