From 444d261d0bfac490e2fa52a332d6475ca24b95bf Mon Sep 17 00:00:00 2001
From: Antoine Gersant <antoine.gersant@lesforges.org>
Date: Sun, 29 Sep 2024 13:19:37 -0700
Subject: [PATCH] CI churn

---
 .github/workflows/release.yml | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 424ce75..3bb73e8 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -61,6 +61,7 @@ jobs:
         uses: actions/upload-artifact@v4
         with:
           if-no-files-found: error
+          name: Polaris_${{ github.event.inputs.versionNumber }}.msi
           path: polaris.msi
 
   linux:
@@ -82,6 +83,7 @@ jobs:
         uses: actions/upload-artifact@v4
         with:
           if-no-files-found: error
+          name: Polaris_${{ github.event.inputs.versionNumber }}.tar.gz
           path: polaris.tar.gz
 
   create_release:
@@ -90,20 +92,10 @@ jobs:
     needs: [windows, linux]
 
     steps:
-      - name: Download Windows installer
+      - name: Download artifacts
         uses: actions/download-artifact@v4
         with:
-          name: polaris.msi
-      - name: Name Windows installer
-        run: mv polaris.msi Polaris_${{ github.event.inputs.versionNumber }}.msi
-      
-      - name: Download Linux release
-        uses: actions/download-artifact@v4
-        with:
-          name: polaris.tar.gz
-      - name: Name Linux release
-        run: mv polaris.tar.gz Polaris_${{ github.event.inputs.versionNumber }}.tar.gz
-
+          merge-multiple: true
       - name: Make Github release
         uses: softprops/action-gh-release@v2
         with: