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

ci: Simplify archive creation in hopes of fixing #17

parent 689b7b47
No related branches found
No related tags found
No related merge requests found
......@@ -174,31 +174,21 @@ jobs:
- name: Rename folders
run: |
mv dist/electron/Let* dist/electron/lttmm-${{ matrix.os }}
mv dist/electron/Let* lttmm-${{ matrix.os }}
# Electron Archives
- name: Create zip
uses: ihiroky/archive-action@v1
with:
root_dir: dist/electron/lttmm-${{ matrix.os }}
root_dir: lttmm-${{ matrix.os }}
file_path: lttmm-app-${{ matrix.os }}-${{ needs.release.outputs.newtag }}.zip
- name: Create tar.gz
uses: ihiroky/archive-action@v1
with:
root_dir: dist/electron/lttmm-${{ matrix.os }}
root_dir: lttmm-${{ matrix.os }}
file_path: lttmm-app-${{ matrix.os }}-${{ needs.release.outputs.newtag }}.tar.gz
# Upload App Assets
- name: Upload App Archive tar.gz
id: upload-release-asset-archive-targz
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.uploadurl }}
asset_path: ./lttmm-app-${{ matrix.os }}-${{ needs.release.outputs.newtag }}.tar.gz
asset_name: lttmm-app-${{ matrix.os }}-${{ needs.release.outputs.newtag }}.tar.gz
asset_content_type: application/gzip
- name: Upload App Archive zip
id: upload-release-asset-archive-zip
uses: actions/upload-release-asset@v1
......@@ -209,3 +199,14 @@ jobs:
asset_path: ./lttmm-app-${{ matrix.os }}-${{ needs.release.outputs.newtag }}.zip
asset_name: lttmm-app-${{ matrix.os }}-${{ needs.release.outputs.newtag }}.zip
asset_content_type: application/zip
- name: Upload App Archive tar.gz
id: upload-release-asset-archive-targz
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.uploadurl }}
asset_path: ./lttmm-app-${{ matrix.os }}-${{ needs.release.outputs.newtag }}.tar.gz
asset_name: lttmm-app-${{ matrix.os }}-${{ needs.release.outputs.newtag }}.tar.gz
asset_content_type: application/gzip
......@@ -83,16 +83,16 @@ jobs:
- name: Rename folders
run: |
mv dist/electron/Let* dist/electron/lttmm-${{ matrix.os }}
mv dist/electron/Let* 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
root_dir: lttmm-${{ matrix.os }}
file_path: lttmm-app-${{ matrix.os }}.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
root_dir: lttmm-${{ matrix.os }}
file_path: lttmm-app${{ matrix.os }}.tar.gz
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