Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ sudo apt-get update && \
sudo rm -rf /var/lib/apt/lists/*

echo Install .NET dev certs
dotnet dev-certs https --trust
EXIT_CODE=0
dotnet dev-certs https --trust || EXIT_CODE=$?
if [ $EXIT_CODE -ne 0 ] && [ $EXIT_CODE -ne 4 ]; then
echo "dotnet dev-certs https --trust failed with exit code $EXIT_CODE"
exit $EXIT_CODE
Comment thread
aaronpowell marked this conversation as resolved.
Outdated
fi

echo Install Aspire
curl -sSL https://aspire.dev/install.sh | bash
Expand Down
7 changes: 6 additions & 1 deletion .github/actions/setup-runtimes-caching/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ runs:
shell: bash
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
dotnet dev-certs https --trust
EXIT_CODE=0
dotnet dev-certs https --trust || EXIT_CODE=$?
if [ $EXIT_CODE -ne 0 ] && [ $EXIT_CODE -ne 4 ]; then
echo "dotnet dev-certs https --trust failed with exit code $EXIT_CODE"
exit $EXIT_CODE
Comment thread
aaronpowell marked this conversation as resolved.
Outdated
fi

- name: Setup Node globals
shell: bash
Expand Down
Loading