Skip to content

Commit

Permalink
Revert "chore(ci): add changable package name on packages"
Browse files Browse the repository at this point in the history
This reverts commit fa735a4.
  • Loading branch information
tiensonqin committed Apr 30, 2021
1 parent 6ab0632 commit 8b6fce1
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/build-desktop-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ on:
description: 'Pre Release?'
required: true
default: "true"
package-name:
description: 'Without platform and version.'
required: true
default: "logseq"

jobs:
compile-cljs:
Expand Down Expand Up @@ -285,7 +281,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./logseq-darwin-x64-${{ github.event.inputs.tag-version }}.zip
asset_name: ${{ github.event.inputs.package-name }}-darwin-x64-${{ github.event.inputs.tag-version }}.zip
asset_name: logseq-darwin-x64-${{ github.event.inputs.tag-version }}.zip
asset_content_type: application/zip

- name: Upload MacOS X64 DMG Artifact
Expand All @@ -296,7 +292,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./logseq-darwin-x64-${{ github.event.inputs.tag-version }}.dmg
asset_name: ${{ github.event.inputs.package-name }}-darwin-x64-${{ github.event.inputs.tag-version }}.dmg
asset_name: logseq-darwin-x64-${{ github.event.inputs.tag-version }}.dmg
asset_content_type: application/x-apple-diskimage

- name: Upload Linux Artifact With Zip format
Expand All @@ -307,7 +303,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./Logseq-linux.zip
asset_name: ${{ github.event.inputs.package-name }}-linux-x64-${{ github.event.inputs.tag-version }}.zip
asset_name: logseq-linux-x64-${{ github.event.inputs.tag-version }}.zip
asset_content_type: application/zip

- name: Upload Linux Artifact With AppImage format
Expand All @@ -318,7 +314,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./Logseq-linux.AppImage
asset_name: ${{ github.event.inputs.package-name }}-linux-x64-${{ github.event.inputs.tag-version }}.AppImage
asset_name: logseq-linux-x64-${{ github.event.inputs.tag-version }}.AppImage
asset_content_type: application/octet-stream

- name: Upload Windows Artifact
Expand All @@ -329,5 +325,5 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./Logseq-win64.exe
asset_name: ${{ github.event.inputs.package-name }}-win-x64-${{ github.event.inputs.tag-version }}.exe
asset_name: logseq-win-x64-${{ github.event.inputs.tag-version }}.exe
asset_content_type: application/octet-stream

0 comments on commit 8b6fce1

Please sign in to comment.