Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Oct 7, 2021
1 parent f784c0c commit 6aef6e5
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
steps:
- uses: actions/download-artifact@v2

- run: ls -lh
- run: tree

- shell: pwsh
run: echo "target=${{ matrix.platform }}-${{ matrix.arch }}" >> $env:RELEASE_NOTE
Expand All @@ -113,14 +113,22 @@ jobs:
with:
body: ${{ env.RELEASE_NOTE }}
files: |
*.vsix
alpine-x64/*.vsix
darwin-arm64/*.vsix
darwin-x64/*.vsix
linux-arm64/*.vsix
linux-armhf/*.vsix
linux-x64/*.vsix
win32-arm64/*.vsix
win32-ia32/*.vsix
win32-x64/*.vsix
draft: false

- uses: actions/setup-node@v2
with:
node-version: "14.x"

# - name: publish to vscode market
# run: npx vsce publish --packagePath $(find . -iname *.vsix)
# env:
# VSCE_PAT: ${{ secrets.ADO_TOKEN }}
- name: publish to vscode market
run: npx vsce publish --packagePath $(find . -iname *.vsix)
env:
VSCE_PAT: ${{ secrets.ADO_TOKEN }}

0 comments on commit 6aef6e5

Please sign in to comment.