From 6608bfedd3a0a2e884b8e4f4c6b66d642abb2907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=AE=AE=E0=AE=A9=E0=AF=8B=E0=AE=9C=E0=AF=8D=E0=AE=95?= =?UTF-8?q?=E0=AF=81=E0=AE=AE=E0=AE=BE=E0=AE=B0=E0=AF=8D=20=E0=AE=AA?= =?UTF-8?q?=E0=AE=B4=E0=AE=A9=E0=AE=BF=E0=AE=9A=E0=AF=8D=E0=AE=9A=E0=AE=BE?= =?UTF-8?q?=E0=AE=AE=E0=AE=BF?= Date: Wed, 14 May 2025 16:13:05 +0530 Subject: [PATCH 1/3] Create build-vsix.yml --- .github/workflows/build-vsix.yml | 45 ++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/build-vsix.yml diff --git a/.github/workflows/build-vsix.yml b/.github/workflows/build-vsix.yml new file mode 100644 index 00000000000..eb6831d001e --- /dev/null +++ b/.github/workflows/build-vsix.yml @@ -0,0 +1,45 @@ +name: Build VSIX + +on: + pull_request: + types: [labeled] + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + if: github.event.label.name == 'build' + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version-file: 'package.json' + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Install dependencies + run: npm run install:all + + - name: Build Extension + run: npm run build + + - name: Upload VSIX artifact + uses: actions/upload-artifact@v4 + with: + name: extension-vsix + path: bin/*.vsix + + - name: Comment PR with artifact link + if: github.event_name == 'pull_request' + uses: peter-evans/create-or-update-comment@v4 + with: + issue-number: ${{ github.event.pull_request.number }} + body: | + Build successful! 🚀 + You can download the VSIX artifact from the [GitHub Actions run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}). From f7259fb3328ae4261e8cd7b1f2615bac5afc6066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=AE=AE=E0=AE=A9=E0=AF=8B=E0=AE=9C=E0=AF=8D=E0=AE=95?= =?UTF-8?q?=E0=AF=81=E0=AE=AE=E0=AE=BE=E0=AE=B0=E0=AF=8D=20=E0=AE=AA?= =?UTF-8?q?=E0=AE=B4=E0=AE=A9=E0=AE=BF=E0=AE=9A=E0=AF=8D=E0=AE=9A=E0=AE=BE?= =?UTF-8?q?=E0=AE=AE=E0=AE=BF?= Date: Wed, 14 May 2025 16:34:11 +0530 Subject: [PATCH 2/3] rename --- .github/workflows/build-vsix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-vsix.yml b/.github/workflows/build-vsix.yml index eb6831d001e..6fb4129463d 100644 --- a/.github/workflows/build-vsix.yml +++ b/.github/workflows/build-vsix.yml @@ -23,7 +23,7 @@ jobs: - name: Install dependencies run: npm ci - - name: Install dependencies + - name: Install all dependencies run: npm run install:all - name: Build Extension From b296e640310784041f086dcab12c3ed6d4f59504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=AE=AE=E0=AE=A9=E0=AF=8B=E0=AE=9C=E0=AF=8D=E0=AE=95?= =?UTF-8?q?=E0=AF=81=E0=AE=AE=E0=AE=BE=E0=AE=B0=E0=AF=8D=20=E0=AE=AA?= =?UTF-8?q?=E0=AE=B4=E0=AE=A9=E0=AE=BF=E0=AE=9A=E0=AF=8D=E0=AE=9A=E0=AE=BE?= =?UTF-8?q?=E0=AE=AE=E0=AE=BF?= Date: Wed, 14 May 2025 17:08:43 +0530 Subject: [PATCH 3/3] reword --- .github/workflows/build-vsix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-vsix.yml b/.github/workflows/build-vsix.yml index 6fb4129463d..ab6bd95129c 100644 --- a/.github/workflows/build-vsix.yml +++ b/.github/workflows/build-vsix.yml @@ -42,4 +42,4 @@ jobs: issue-number: ${{ github.event.pull_request.number }} body: | Build successful! 🚀 - You can download the VSIX artifact from the [GitHub Actions run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}). + You can download the VSIX extension [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}).