From 1b84d0ba4285683230da32ea39f0b3849980f4a2 Mon Sep 17 00:00:00 2001 From: daniel muremwa Date: Mon, 19 Apr 2021 21:39:50 +0300 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..bdc088b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +on: + push: + tags: + - "*" + +name: Deploy Extension +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 + - run: npm ci + - name: Publish to Visual Studio Marketplace + uses: HaaLeo/publish-vscode-extension@v0 + with: + pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} + registryUrl: https://marketplace.visualstudio.com