mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 23:54:55 +00:00
chore(electron): add appimage format for linux
This commit is contained in:
36
.github/workflows/build-desktop-release.yml
vendored
36
.github/workflows/build-desktop-release.yml
vendored
@@ -110,15 +110,24 @@ jobs:
|
||||
run: yarn install --frozen-lockfile && yarn electron:make
|
||||
working-directory: ./static
|
||||
|
||||
- name: Change Artifact Name
|
||||
- name: Change Artifact Name For ZIP File
|
||||
run: mv static/out/make/zip/linux/x64/Logseq-linux-x64-*.zip static/out/make/zip/linux/x64/Logseq-linux.zip
|
||||
|
||||
- name: Cache Artifact
|
||||
- name: Change Artifact Name For AppImage File
|
||||
run: mv static/out/make/Logseq-*.AppImage static/out/make/Logseq-linux.AppImage
|
||||
|
||||
- name: Cache Artifact With ZIP format
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: Logseq-linux.zip
|
||||
path: static/out/make/zip/linux/x64/Logseq-linux.zip
|
||||
|
||||
- name: Cache Artifact With AppImage format
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: Logseq-linux.AppImage
|
||||
path: static/out/make/Logseq-linux.AppImage
|
||||
|
||||
build-windows:
|
||||
runs-on: windows-latest
|
||||
needs: [ compile-cljs ]
|
||||
@@ -232,12 +241,18 @@ jobs:
|
||||
name: Logseq-x64.zip
|
||||
path: ./
|
||||
|
||||
- name: Download The Linux Artifact
|
||||
- name: Download The Linux Artifact In Zip format
|
||||
uses: actions/download-artifact@v1
|
||||
with:
|
||||
name: Logseq-linux.zip
|
||||
path: ./
|
||||
|
||||
- name: Download The Linux Artifact In AppImage format
|
||||
uses: actions/download-artifact@v1
|
||||
with:
|
||||
name: Logseq-linux.AppImage
|
||||
path: ./
|
||||
|
||||
- name: Download The Windows Artifact
|
||||
uses: actions/download-artifact@v1
|
||||
with:
|
||||
@@ -280,8 +295,8 @@ jobs:
|
||||
asset_name: logseq-darwin-x64-${{ github.event.inputs.tag-version }}.dmg
|
||||
asset_content_type: application/x-apple-diskimage
|
||||
|
||||
- name: Upload Linux Artifact
|
||||
id: upload-linux-artifact
|
||||
- name: Upload Linux Artifact With Zip format
|
||||
id: upload-linux-artifact-with-zip-format
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -291,6 +306,17 @@ jobs:
|
||||
asset_name: logseq-linux-x64-${{ github.event.inputs.tag-version }}.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
- name: Upload Linux Artifact With AppImage format
|
||||
id: upload-linux-artifact-with-appimage-format
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./Logseq-linux.AppImage
|
||||
asset_name: logseq-linux-x64-${{ github.event.inputs.tag-version }}.AppImage
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: Upload Windows Artifact
|
||||
id: upload-win-artifact
|
||||
uses: actions/upload-release-asset@v1
|
||||
|
||||
Reference in New Issue
Block a user