Skip to content

Commit 2c5bf2f

Browse files
committed
Add secret to action
1 parent 0c49efd commit 2c5bf2f

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"license": "SEE LICENSE IN LICENSE.txt",
1212
"homepage": "https://github.com/upsun/vscode-upsun/blob/main/README.md",
13-
"publisher": "upsun-vscode",
13+
"publisher": "Upsun",
1414
"icon": "resources/images/upsun-icon.png",
1515
"repository": {
1616
"type": "git",

0 commit comments

Comments
 (0)