From 39d01c6da506cb1ba97c978efbcc6e3ad9889259 Mon Sep 17 00:00:00 2001 From: kellas Date: Wed, 20 Jan 2021 14:51:54 +0200 Subject: [PATCH] Publish new release to VSCode marketplace action (#21) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Publish new release to VSCode marketplace action * add newline Co-authored-by: Александр Степанченко Co-authored-by: Alex Step --- .../workflows/publish-vscode-extension.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/publish-vscode-extension.yml diff --git a/.github/workflows/publish-vscode-extension.yml b/.github/workflows/publish-vscode-extension.yml new file mode 100644 index 0000000..36c095b --- /dev/null +++ b/.github/workflows/publish-vscode-extension.yml @@ -0,0 +1,19 @@ +name: Publish release to VSCode marketplace + +on: + release: + types: + - created + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: npm ci + - run: npm test + - uses: lannonbr/vsce-action@master + with: + args: "publish -p $VSCE_TOKEN" + env: + VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}