I'm quite new to using Actions, and I'm having some trouble. My YML file looks like this:
name: Build
on:
workflow_dispatch:
push:
branches: ["main", "master"]
jobs:
build:
runs-on: windows-latest
steps:
- name: Build with py2exe
run: |
pip install py2exe
cd app
python setup.py py2exe
I'm trying to compile app/main.py
into a .exe
file. I'm able to run these commands from my Windows 10 computer, but with Actions, it fails with:
Line |
3 | cd app
| ~~~~~~
| Cannot find path 'D:\a\Pokemon-PythonRed\Pokemon-PythonRed\app' because it does not exist.
I'm sure there's an app
directory, you can check for yourself here.
What am I doing wrong? Thank you in advance.