Skip to content

Commit f97230c

Browse files
committed
try to get github actions configuration right
1 parent 1d82666 commit f97230c

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- created
1111

1212
jobs:
13-
build:
13+
test:
1414
strategy:
1515
matrix:
1616
os: [macos-latest, ubuntu-latest, windows-latest]
@@ -32,10 +32,12 @@ jobs:
3232
uses: coverallsapp/github-action@master
3333
with:
3434
github-token: ${{ github.token }}
35-
finish:
36-
needs: test
37-
steps:
38-
- name: Deploy to VS Code Marketplace
39-
if: success() && startsWith( github.ref, 'refs/tags/releases/') && matrix.os == 'ubuntu-latest'
40-
env:
41-
VSCE_PAT: ${{ secrets.VSCE_PAT }}
35+
deploy:
36+
runs-on: ubuntu-latest
37+
needs: test
38+
steps:
39+
- name: Publish
40+
if: success() && startsWith( github.ref, 'refs/tags/releases/') && matrix.os == 'ubuntu-latest'
41+
run: npm run deploy
42+
env:
43+
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 commit comments

Comments
 (0)