Skip to content

Script before run (part 2) #25

@niden

Description

@niden

Related to #23

I followed the instructions I believe correctly and added the necessary steps to generate the builds from our scripts and then to invoke the action to build the necessary files.

The workflow is here:

https://github.com/niden-code/phalcon-cphalcon/blob/fix-windows-builds/.github/workflows/compile-windows.yml#L39

Pretty simple: checkout, generate build files, run the action.

However I am getting errors when the action runs with "file not found" error messages i.e. the build files do not exist. I checked it a bit more and realized that the action cleans up the repository before building anything so the files are gone. See here:

https://github.com/niden-code/phalcon-cphalcon/actions/runs/22686871586/job/65772115317#step:4:58

I am wondering if I am not setting this up properly. The idea is to run php gen-build.php from the build folder and those are the files that will build the extension. I have not found a way to tell the action to look in the build folder so I am copying them on the root, however the root is cleaned.

Any pointers are more than welcome.

Thanks

Metadata

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