Skip to content

Commit

Permalink
Merge pull request #6 from kadena-community/ci/release_script
Browse files Browse the repository at this point in the history
Create release/publish workflow
  • Loading branch information
DevopsGoth authored Jan 5, 2024
2 parents 916d4c0 + 01da2aa commit 68ffada
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/publish_extension.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 68ffada

Please sign in to comment.