Skip to content

Commit 7aa6040

Browse files
committed
fix: discord notify ci
1 parent 99ee60a commit 7aa6040

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ jobs:
329329
LINUX_PACKAGE_TMP_RPM_NAME: AppFlowy-${{ github.ref_name }}-2.x86_64.rpm
330330
LINUX_PACKAGE_TMP_APPIMAGE_NAME: AppFlowy-${{ github.ref_name }}-x86_64.AppImage
331331
LINUX_PACKAGE_APPIMAGE_NAME: AppFlowy-${{ github.ref_name }}-linux-x86_64.AppImage
332+
LINUX_PACKAGE_ZIP_NAME: AppFlowy-${{ github.ref_name }}-linux-x86_64.tar.gz
332333

333334
strategy:
334335
fail-fast: false
@@ -405,7 +406,11 @@ jobs:
405406
continue-on-error: true
406407
run: |
407408
sh scripts/linux_distribution/appimage/build_appimage.sh ${{ github.ref_name }}
408-
cp -r ${{ env.LINUX_PACKAGE_TMP_APPIMAGE_NAME }} ${{ env.LINUX_PACKAGE_APPIMAGE_NAME }}
409+
ls -a
410+
cd ..
411+
ls -a
412+
cp -r frontend/${{ env.LINUX_PACKAGE_TMP_APPIMAGE_NAME }} ${{ env.LINUX_APP_RELEASE_PATH }}/${{ env.LINUX_PACKAGE_APPIMAGE_NAME }}
413+
ls -a ${{ env.LINUX_APP_RELEASE_PATH }}
409414
410415
- name: Upload Asset
411416
id: upload-release-asset
@@ -415,7 +420,7 @@ jobs:
415420
with:
416421
upload_url: ${{ needs.create-release.outputs.upload_url }}
417422
asset_path: ${{ env.LINUX_APP_RELEASE_PATH }}/${{ env.LINUX_ZIP_NAME }}
418-
asset_name: ${{ env.LINUX_ZIP_NAME }}
423+
asset_name: ${{ env.LINUX_PACKAGE_ZIP_NAME }}
419424
asset_content_type: application/octet-stream
420425

421426
- name: Upload Debian package

0 commit comments

Comments
 (0)