Skip to content

Commit 92828cc

Browse files
committed
Add secret to action
1 parent 0c49efd commit 92828cc

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,18 @@ jobs:
108108
runs-on: ubuntu-latest
109109
needs: build-vsix
110110
steps:
111+
- name: Checkout
112+
uses: actions/checkout@v4
113+
- name: Setup
114+
uses: ./.github/actions/setup
115+
with:
116+
node_version: ${{ env.NODE_VERSION}}
117+
118+
- name: Build VSIX
119+
run: npx vsce package --out dist/upsun-cli.vsix --pre-release
120+
shell: bash
121+
111122
- name: Publish
123+
env:
124+
AZURE_ACCESS_TOKEN: ${{ secrets.AZURE_ACCESS_TOKEN }}
112125
run: npx vsce publish --packagePath dist/*.vsix -p $AZURE_ACCESS_TOKEN

0 commit comments

Comments
 (0)