From 8896a2d54a92141c962523ab5e71cc674c4a53e5 Mon Sep 17 00:00:00 2001
From: Griefed <griefed@griefed.de>
Date: Tue, 28 Sep 2021 12:49:13 +0200
Subject: [PATCH] no message

---
 .github/workflows/test.yml | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 35e6b32..8e5d4bd 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -55,10 +55,12 @@ jobs:
         with:
           fetch-depth: 0
 
-      - name: A.We are running on
-        run: |
-          echo matrix.os is ${{ matrix.os }}
-          echo github.runner_os is ${{ github.runner_os }}
+      - name: We are running on
+        run: echo matrix.os is ${{ matrix.os }}
+        # Either:
+        #  1. macos-latest
+        #  2. ubuntu-latest
+        #  3. windows-latest
 
       # SETUP NODE ENVIRONMENT
       - name: Setup Node.js environment
@@ -78,3 +80,19 @@ jobs:
 
       - name: List files
         run: ls dist/electron
+
+      - name: Rename folders
+        run: |
+          mv dist/electron/Let* dist/electron/lttmm-${{ matrix.os }}
+
+      # Electron Archives
+      - name: Create zip
+        uses: ihiroky/archive-action@v1
+        with:
+          root_dir: dist/electron/lttmm-${{ matrix.os }}
+          file_path: lttmm-app-$ARCHIVEOS.zip
+      - name: Create tar.gz
+        uses: ihiroky/archive-action@v1
+        with:
+          root_dir: dist/electron/lttmm-${{ matrix.os }}
+          file_path: lttmm-app-$ARCHIVEOS.tar.gz
-- 
GitLab