Updated the vscode.yml to give vsix for -rc tags.

This commit is contained in:
Vikas 2021-10-06 02:43:04 -07:00 коммит произвёл GitHub
Родитель 7ad5086849
Коммит e4754879c3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 9 добавлений и 0 удалений

9
.github/workflows/vscode.yml поставляемый
Просмотреть файл

@ -26,6 +26,8 @@ jobs:
echo ::set-output name=ISPRODTAG::v?[0-9]+\.[0-9]+\.[0-9]+$
if [[ ${{ github.ref }} =~ ^refs/tags/v?[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo ::set-output name=GITHUB_TAG::true
elif [[ ${{ github.ref }} =~ ^refs/tags/v?[0-9]+\.[0-9]+\.[0-9]+-rc ]]; then
echo ::set-output name=GITHUB_TAG_RC::true
fi
- name: npm install
@ -42,6 +44,13 @@ jobs:
run: xvfb-run --auto-servernum --server-args="-screen 0, 1024x768x24" npm test --silent
- name: docker test
run: docker run -t --rm -v $PWD:/mnt:ro dkhamsing/awesome_bot --white-list "gitter.im/Microsoft/vscode-azure-iot-edge" --allow-dupe --allow-redirect --skip-save-results `ls *.md`
- name: GitHub Release - RC
if: |
success() && (steps.check-tag.outputs.GITHUB_TAG_RC == 'true')
uses: softprops/action-gh-release@v1
with:
files: ./**/*.vsix
- name: GitHub Release
if: |