merged the git hub task release -rc task with github release

This commit is contained in:
Vikas 2021-10-06 10:33:20 -07:00
Родитель 0251ee521a
Коммит e78fd617c8
1 изменённых файлов: 3 добавлений и 11 удалений

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

@ -44,20 +44,12 @@ 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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tags: true
- name: GitHub Release
if: |
success() && (steps.check-tag.outputs.GITHUB_TAG == 'true')
(success() && (steps.check-tag.outputs.GITHUB_TAG == 'true') ||
(steps.check-tag.outputs.GITHUB_TAG_RC == 'true'))
uses: softprops/action-gh-release@v1
with:
files: ./**/*.vsix