From ac88bc9af0ca26da59f73a762cd707c1894f67d6 Mon Sep 17 00:00:00 2001
From: Antoine Gersant <antoine.gersant@lesforges.org>
Date: Fri, 31 Jan 2025 00:22:00 -0800
Subject: [PATCH] Update install check action

---
 .github/workflows/validate-install.yml | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/validate-install.yml b/.github/workflows/validate-install.yml
index f0b7fd5..e9dfef2 100644
--- a/.github/workflows/validate-install.yml
+++ b/.github/workflows/validate-install.yml
@@ -1,10 +1,6 @@
 on:
   pull_request:
-    branches:
-      - master
   push:
-    branches:
-      - master
 
 name: Validate Install
 
@@ -22,8 +18,9 @@ jobs:
           version-number: "0.0.0"
           output-file: polaris.tar.gz
       - name: Upload packaged release
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v4
         with:
+          if-no-files-found: error
           name: linux-release
           path: polaris.tar.gz
 
@@ -100,8 +97,9 @@ jobs:
           version-number: "0.0.0"
           output-file: polaris.msi
       - name: Upload packaged release
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v4
         with:
+          if-no-files-found: error
           name: windows-release
           path: polaris.msi