From fcb209d46868c8fca3e6a1b1bc49da343eb5aa98 Mon Sep 17 00:00:00 2001
From: amvanbaren <aart.vanbaren@eclipse-foundation.org>
Date: Wed, 2 Oct 2024 19:22:09 +0300
Subject: [PATCH] Fix method and update github action version

---
 .github/workflows/playwright.yml | 6 +++---
 .github/workflows/smoketest.yml  | 5 +++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index cacaebe75..1050a6aa5 100644
--- a/.github/workflows/playwright.yml
+++ b/.github/workflows/playwright.yml
@@ -12,8 +12,8 @@ jobs:
     timeout-minutes: 60
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
-      - uses: actions/setup-node@v3
+      - uses: actions/checkout@v4
+      - uses: actions/setup-node@v4
         with:
           node-version: 18.x
       - name: Install dependencies
@@ -25,7 +25,7 @@ jobs:
       - name: Run Playwright tests
         working-directory: ./webui
         run: yarn smoke-tests
-      - uses: actions/upload-artifact@v3
+      - uses: actions/upload-artifact@v4
         if: always()
         with:
           name: playwright-report
diff --git a/.github/workflows/smoketest.yml b/.github/workflows/smoketest.yml
index 865973c4c..02bd94a0d 100644
--- a/.github/workflows/smoketest.yml
+++ b/.github/workflows/smoketest.yml
@@ -17,7 +17,7 @@ jobs:
         with:
           # repository: eclipse/openvsx
           path: openvsx
-      - uses: actions/setup-node@v3
+      - uses: actions/setup-node@v4
         with:
           node-version: 18.x
       - name: Install dependencies
@@ -40,6 +40,7 @@ jobs:
         uses: fjogeleit/http-request-action@v1
         with:
           url: "https://open-vsx.org/api/version"
+          method: GET
       - name: Check new server deployment is running
         id: check_version
         run: |
@@ -48,7 +49,7 @@ jobs:
         if: steps.check_version.outputs.is_version
         working-directory: ./openvsx/webui
         run: yarn smoke-tests
-      - uses: actions/upload-artifact@v3
+      - uses: actions/upload-artifact@v4
         if: steps.check_version.outputs.is_version
         with:
           name: playwright-report