Skip to content

Commit afbec05

Browse files
committed
updated github actions workflow
1 parent a6e7bde commit afbec05

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/publish.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
name: Publish
22

33
on:
4-
workflow_dispatch: # Allows manual triggering of the workflow
4+
workflow_dispatch: # Allows manual triggering of the workflow
55

66
jobs:
77
publish:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- name: Checkout repository
12-
uses: actions/checkout@v3
11+
- name: Checkout repository
12+
uses: actions/checkout@v3
1313

14-
- name: Set up Node.js
15-
uses: actions/setup-node@v3
16-
with:
17-
node-version: '20' # Adjust the Node.js version if necessary
14+
- name: Set up Node.js
15+
uses: actions/setup-node@v3
16+
with:
17+
node-version: "20" # Adjust the Node.js version if necessary
1818

19-
- name: Install dependencies
20-
run: npm install
19+
- name: Install dependencies
20+
run: npm install
2121

22-
- name: Publish VS Code extension
23-
env:
24-
VSCE_PAT: ${{ secrets.VSCE_TOKEN }} # Use the PAT stored as a secret
25-
run: npm run deploy
22+
- name: Publish VS Code extension
23+
env:
24+
VSCE_PAT: ${{ secrets.VSCE_TOKEN }} # Use the PAT stored as a secret
25+
run: npm run package deploy

0 commit comments

Comments
 (0)