Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit e469535

Browse files
authored
Fix PR scenario
1 parent ce7fd85 commit e469535

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/actions/smoke-test/action.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ runs:
2020
id: checkout_release
2121
uses: actions/checkout@v2
2222
with:
23+
repository: 'microsoft/vscode-dev-containers'
2324
path: '__build'
2425
ref: 'main'
2526

@@ -43,14 +44,10 @@ runs:
4344
fi
4445
4546
# Run test build
46-
GIT_BRANCH=$(echo "${{ github.ref }}" | grep -oP 'refs/(heads|tags)/\K(.+)')
47-
if [ "$GIT_BRANCH" == "" ]; then
48-
GIT_BRANCH=main
49-
fi
5047
chmod +x build/vscdc
5148
build/vscdc push ${{ inputs.definition }} \
5249
--no-push \
53-
--release $GIT_BRANCH \
50+
--release dev \
5451
--github-repo "microsoft/vscode-dev-containers" \
5552
--registry "mcr.microsoft.com" \
5653
--registry-path "vscode/devcontainers" \

0 commit comments

Comments
 (0)