Skip to content

Commit 4d279fe

Browse files
committed
added openvsx deployment
1 parent 42ae8fb commit 4d279fe

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

.github/workflows/create_release_and_publish.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v2
2525

26-
- name: Dump GITHUB context
27-
env:
28-
GITHUB: ${{ toJSON(github) }}
29-
run: echo "${GITHUB}"
30-
31-
- name: Dump input context
32-
env:
33-
INPUTS: ${{ toJSON(inputs) }}
34-
run: echo "${INPUTS}"
35-
3626
- name: Install npm
3727
run: npm install
3828

@@ -41,12 +31,18 @@ jobs:
4131

4232
# we first publish to VSCode gallery
4333
# in case that version is already there, it would fail and also not overwrite the Github Release
44-
- name: Publish extension
34+
- name: Publish extension to VSCode Marketplace
4535
if: ${{ (inputs.publish == 'true') || (github.event_name == 'push') }}
4636
env:
4737
VSCE_PUBLISH_TOKEN: ${{ secrets.VSCE_PUBLISH_TOKEN }}
4838
run: vsce publish -p $VSCE_PUBLISH_TOKEN
4939

40+
- name: Publish extension to Open VSX Registry
41+
uses: HaaLeo/publish-vscode-extension@v2
42+
id: publishToOpenVSX
43+
with:
44+
pat: ${{ secrets.OPENVSX_PUBLISH_TOKEN }}
45+
5046
- name: Calculate version/tag-name from package.json
5147
id: calculatePackageVersion
5248
run: |

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
**v2.8.2**:
4+
- added automated deployment to [OpenVSX](https://open-vsx.org/)
5+
36
**v2.8.1**:
47
- added automated deployment to marketplace
58

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "powerbi-vscode",
33
"displayName": "Power BI Studio",
44
"description": "An extension to manage your Power BI resources from within VSCode",
5-
"version": "2.8.1",
5+
"version": "2.8.2",
66
"publisher": "GerhardBrueckl",
77
"icon": "resources/powerbi_extension.png",
88
"author": {

0 commit comments

Comments
 (0)