File tree Expand file tree Collapse file tree 4 files changed +27
-40
lines changed
Expand file tree Collapse file tree 4 files changed +27
-40
lines changed Original file line number Diff line number Diff line change 1+ name : ' Build VSIX Package'
2+ description : ' Builds the VS Code extension VSIX package'
3+
4+ inputs :
5+ version :
6+ description : ' Version to build'
7+ required : true
8+
9+ runs :
10+ using : composite
11+ steps :
12+ - name : Build VSIX package
13+ shell : bash
14+ run : make vsix
15+ env :
16+ VERSION : ${{ inputs.version }}
17+ LOCALSTACK_WEB_AUTH_REDIRECT : https://app.localstack.cloud/redirect?name=VSCode
18+ NODE_ENV : production
19+ ANALYTICS_API_URL : https://analytics.localstack.cloud/v1/events
Original file line number Diff line number Diff line change 4848 env :
4949 LOCALSTACK_WEB_AUTH_REDIRECT : https://app.localstack.cloud/redirect?name=VSCode
5050 NODE_ENV : ci
51-
52- build :
53- name : Build VSIX
54- runs-on : ubuntu-latest
55- needs : [lint, test]
56-
57- steps :
58- - name : Checkout
59- uses : actions/checkout@v5
60-
61- - name : Setup Node
62- uses : actions/setup-node@v4
63- with :
64- cache : npm
65-
66- - name : Install dependencies
67- run : npm ci
68-
69- - name : Set version from branch name
70- uses : ./.github/actions/set-version
71-
72- - name : Build VSIX package
73- run : make vsix
74- env :
75- LOCALSTACK_WEB_AUTH_REDIRECT : https://app.localstack.cloud/redirect?name=VSCode
76- NODE_ENV : production
77- ANALYTICS_API_URL : https://analytics.localstack.cloud/v1/events
78-
79- - name : Upload VSIX artifact
80- uses : actions/upload-artifact@v4
81- with :
82- name : vsix-${{ env.VERSION }}
83- path : localstack-${{ env.VERSION }}.vsix
84- retention-days : 3
Original file line number Diff line number Diff line change @@ -27,12 +27,13 @@ jobs:
2727 - name : Set version from branch name
2828 uses : ./.github/actions/set-version
2929
30- - name : Download VSIX artifact
31- uses : actions/download-artifact@v4
30+ - name : Build VSIX package
31+ uses : ./.github/ actions/build-vsix
3232 with :
33- name : vsix- ${{ env.VERSION }}
33+ version : ${{ env.VERSION }}
3434
3535 - name : Publish to Open VSX
3636 run : make publish-ovsx
3737 env :
38+ VERSION : ${{ env.VERSION }}
3839 OVSX_PAT : ${{ secrets.OVSX_PAT }}
Original file line number Diff line number Diff line change @@ -27,12 +27,13 @@ jobs:
2727 - name : Set version from branch name
2828 uses : ./.github/actions/set-version
2929
30- - name : Download VSIX artifact
31- uses : actions/download-artifact@v4
30+ - name : Build VSIX package
31+ uses : ./.github/ actions/build-vsix
3232 with :
33- name : vsix- ${{ env.VERSION }}
33+ version : ${{ env.VERSION }}
3434
3535 - name : Publish to VS Marketplace
3636 run : make publish-marketplace
3737 env :
38+ VERSION : ${{ env.VERSION }}
3839 VSCE_PAT : ${{ secrets.VSCE_PAT }}
You can’t perform that action at this time.
0 commit comments