You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to setup a barebone simple devContainer for use with VSCode on Windows 11 and also GitHub runner. I'm running into what seems like an obvious roadblock to make this happen. I was hoping the GitHub CLI would find the sh file to execute, but it's not searching from the right path. Any help to clarify the failure appreciated!
#!/bin/bash
# This script runs after the container is created
echo 'Post-create script running (/.devcontainer/scripts)...'
echo "Current folder: $(pwd)"
echo "Current user: $(whoami)"
I also added /scripts/post-create.sh (note the difference in first echo showing identifying which script runs):
#!/bin/bash
# This script runs after the container is created
echo 'Post-create script running from (/workspace/scripts)...'
echo "Current folder: $(pwd)"
echo "Current user: $(whoami)"
Expectation: This build works in VSCode, and it prints
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to setup a barebone simple devContainer for use with VSCode on Windows 11 and also GitHub runner. I'm running into what seems like an obvious roadblock to make this happen. I was hoping the GitHub CLI would find the sh file to execute, but it's not searching from the right path. Any help to clarify the failure appreciated!
Here's my .devcontainer/devcontainer.json:
Here's .devContainer/scripts/post-create.sh:
I also added /scripts/post-create.sh (note the difference in first echo showing identifying which script runs):
Expectation: This build works in VSCode, and it prints
However, when run from github runner, it will show:
See logs logs.txt
Here's my github workflow:
The text was updated successfully, but these errors were encountered: