diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 35e6b32c5438b3060079a81c8233ff6e6ac85598..8e5d4bde75861c62cfbe29842504593dbc74a9b4 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