Skip to content

Commit

Permalink
[skip-tests] Avoid errors when attempting to copy the same file over …
Browse files Browse the repository at this point in the history
…itself.
  • Loading branch information
jrhemstad committed Oct 3, 2023
1 parent 91a6456 commit cce0442
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/verify-devcontainers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ jobs:
# devcontainer/ci doesn't supported nested devcontainer.json files, so we need to copy the devcontainer.json
# file to the top level .devcontainer/ directory
- name: Copy devcontainer.json to .devcontainer/
run: cp ${{ matrix.devcontainer }} .devcontainer/devcontainer.json
run: |
src="${{ matrix.devcontainer }}"
dst=".devcontainer/devcontainer.json"
if [[ "$src" != "$dst" ]]; then
cp "$src" "$dst"
fi
# We don't really need sccache configured, but we need the AWS credentials envvars to be set
# in order to avoid the devcontainer hanging waiting for GitHub authentication
- name: Configure credentials and environment variables for sccache
Expand Down

0 comments on commit cce0442

Please sign in to comment.