Skip to content

Commit

Permalink
Removed unzip actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tripater committed Aug 11, 2024
1 parent 4503f43 commit 2d49807
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,6 @@ jobs:
name: mac-dist
path: ./dist/

- name: Unzip Windows artifact
run: unzip ./dist/windows_dist -d ./dist/windows/

- name: Unzip Linux artifact
run: unzip ./dist/linux_dist -d ./dist/linux/

- name: Unzip Mac artifact
run: unzip ./dist/mac_dist -d ./dist/mac/

- name: Read package.json version
id: get_version
run: echo "::set-output name=version::$(jq -r .version package.json)"
Expand All @@ -159,7 +150,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/windows/ExcalidrawElectron\ Setup\ ${{ steps.get_version.outputs.version }}.exe
asset_path: ./dist/windows_dist/ExcalidrawElectron\ Setup\ ${{ steps.get_version.outputs.version }}.exe
asset_name: ExcalidrawElectron_Setup_${{ steps.get_version.outputs.version }}.exe
asset_content_type: application/octet-stream

Expand All @@ -169,7 +160,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/windows/ExcalidrawElectron\ ${{ steps.get_version.outputs.version }}.exe
asset_path: ./dist/windows_dist/ExcalidrawElectron\ ${{ steps.get_version.outputs.version }}.exe
asset_name: ExcalidrawElectron_${{ steps.get_version.outputs.version }}.exe
asset_content_type: application/octet-stream

Expand All @@ -179,7 +170,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/linux/*.AppImage
asset_path: ./dist/linux_dist/*.AppImage
asset_name: ExcalidrawElectron_${{ steps.get_version.outputs.version }}.AppImage
asset_content_type: application/octet-stream

Expand All @@ -189,7 +180,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/linux/*.deb
asset_path: ./dist/linux_dist/*.deb
asset_name: ExcalidrawElectron_${{ steps.get_version.outputs.version }}.deb
asset_content_type: application/vnd.debian.binary-package

Expand All @@ -199,7 +190,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/mac/*.dmg
asset_path: ./dist/mac_dist/*.dmg
asset_name: ExcalidrawElectron_${{ steps.get_version.outputs.version }}.dmg
asset_content_type: application/octet-stream

Expand Down

0 comments on commit 2d49807

Please sign in to comment.