Updated the vscode.yml to give vsix for -rc tags.
This commit is contained in:
Родитель
7ad5086849
Коммит
e4754879c3
|
@ -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: |
|
||||
|
|
Загрузка…
Ссылка в новой задаче