diff --git a/.github/workflows/publish_extension.yml b/.github/workflows/publish_extension.yml new file mode 100644 index 0000000..a87a318 --- /dev/null +++ b/.github/workflows/publish_extension.yml @@ -0,0 +1,28 @@ +on: + workflow_dispatch: + inputs: + prerelease: + type: boolean + default: true + required: false + description: "Submit as pre-release" + +name: Deploy Extension +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 16 + - run: npm ci + - name: Publish to Open VSX Registry + uses: HaaLeo/publish-vscode-extension@v1 + with: + pat: ${{ secrets.OPEN_VSX_TOKEN }} + - name: Publish to Visual Studio Marketplace + uses: HaaLeo/publish-vscode-extension@v1 + with: + pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} + registryUrl: https://marketplace.visualstudio.com diff --git a/package.json b/package.json index 81a5f35..ec28486 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Pact", "description": "Pact Programming Language", "icon": "images/kadena_blue_icon.png", - "publisher": "kadena-community", + "publisher": "kadena", "version": "0.0.5", "engines": { "vscode": "^1.75.0"