Skip to content

Commit

Permalink
chore(ci): fix mac release file name
Browse files Browse the repository at this point in the history
  • Loading branch information
defclass authored and tiensonqin committed Feb 3, 2021
1 parent 19cc69c commit e1b2f83
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build-desktop-release.yml
Expand Up @@ -200,14 +200,11 @@ jobs:
run: yarn install --frozen-lockfile && yarn electron:make
working-directory: ./static

- name: Change Artifact Name
run: mv static/out/make/Logseq.dmg static/out/make/Logseq-x64.dmg

- name: Cache Artifact
uses: actions/upload-artifact@v1
with:
name: Logseq-x64.dmg
path: static/out/make/Logseq-x64.dmg
path: static/out/make/zip/darwin/x64/logseq-darwin-x64-${{ github.event.inputs.tag-version }}.zip

release:
needs: [ build-macos, build-linux, build-windows ]
Expand Down Expand Up @@ -253,9 +250,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./Logseq-x64.dmg
asset_name: logseq-darwin-x64-${{ github.event.inputs.tag-version }}.dmg
asset_content_type: application/x-apple-diskimage
asset_path: ./logseq-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 Linux Artifact
id: upload-linux-artifact
Expand Down

0 comments on commit e1b2f83

Please sign in to comment.