-
Notifications
You must be signed in to change notification settings - Fork 30
PrePostDeploymentScript.ps1 is not recognized as a name #5
Comments
Here is my workflow file.
|
Hi @hedglenrm could you please try upgrading the |
Hi @fedeoliv I changed the version of |
@hedglenrm what is your self-hosted runner OS platform? I'm wondering if this could be something related to cross platform directory path. This is how the action invokes the powershell script:
Could you please try running it on |
Thank you I'll give it a try. |
hello @fedeoliv when using the sample you provided, I get an error when logigng into powershell.
Our runner is running a container, that is
I had to do this because when using azure@login, the command would fail
|
Here is the full yml file:
|
Hello @fedeoliv we found the issue. I was not aware the ubuntu-latest had a bunch of prepackaged software installed. either way, we are using a container and installing azure cli and powershell inside it. the action is spinning up another container, but the /runner path wasn't being mounted on the container, which is why we ran into the missing PrePostDeploymentScript.ps1. jobs: |
Humm I see @hedglenrm...there's a similar issue opened on the runner repo here that looks like the Happy to see you found a workaround. Are you having any other issues with the ADF action? |
I recieved this error when attempting to run the PrePostDeploymentScript.ps1.
Thank you
The text was updated successfully, but these errors were encountered: