Skip to content
Snippets Groups Projects
Commit 9b9871df authored by Griefed's avatar Griefed :joystick:
Browse files

ci: Change archive names to better and more visually reflect the OS they are for.

parent 83488f51
No related branches found
No related tags found
1 merge request!27ci: Change archive names to better and more visually reflect the OS they are for.
...@@ -62,6 +62,21 @@ jobs: ...@@ -62,6 +62,21 @@ jobs:
# 2. ubuntu-latest # 2. ubuntu-latest
# 3. windows-latest # 3. windows-latest
- name: Check for macOS
if: ${{ matrix.os == 'macos-latest' }}
run: |
echo "os=MAC" >> $GITHUB_ENV
- name: Check for Ubuntu
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
echo "os=UBUNTU" >> $GITHUB_ENV
- name: Check for Windows
if: ${{ matrix.os == 'windows-latest' }}
run: |
echo "os=WINDOWS" >> $GITHUB_ENV
# SETUP NODE ENVIRONMENT # SETUP NODE ENVIRONMENT
- name: Setup Node.js environment - name: Setup Node.js environment
uses: actions/setup-node@v2.4.1 uses: actions/setup-node@v2.4.1
...@@ -83,22 +98,22 @@ jobs: ...@@ -83,22 +98,22 @@ jobs:
- name: Rename folders - name: Rename folders
run: | run: |
mv dist/electron/Let* lttmm-${{ matrix.os }} mv dist/electron/Let* lttmm-${{ env.os }}
# Electron Archives # Electron Archives
- name: Create zip - name: Create zip
uses: ihiroky/archive-action@v1 uses: ihiroky/archive-action@v1
with: with:
root_dir: lttmm-${{ matrix.os }} root_dir: lttmm-${{ env.os }}
base_dir: "lttmm-${{ matrix.os }}" base_dir: "lttmm-${{ env.os }}"
file_path: lttmm-app-${{ matrix.os }}.zip file_path: lttmm-app-${{ env.os }}.zip
verbose: true verbose: true
- name: Create tar.gz - name: Create tar.gz
uses: ihiroky/archive-action@v1 uses: ihiroky/archive-action@v1
with: with:
root_dir: lttmm-${{ matrix.os }} root_dir: lttmm-${{ env.os }}
base_dir: "lttmm-${{ matrix.os }}" base_dir: "lttmm-${{ env.os }}"
file_path: lttmm-app-${{ matrix.os }}.tar.gz file_path: lttmm-app-${{ env.os }}.tar.gz
verbose: true verbose: true
- name: List files - name: List files
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment