Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
feat: fix ci build error
xurunkang47d17e6bb22d
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex f105aa7199..ff263154fd 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -42,18 +42,22 @@ jobs:- name: Checkoutuses: actions/checkout@v2+ - name: Setup environment - Rust and Cargo+ uses: actions-rs/toolchain@v1+ with:+ toolchain: stable+- name: Setup environment - Flutteruses: subosito/flutter-action@v2with:channel: 'stable'- - name: Setup environment - Rust and Cargo+ - name: Pre buildworking-directory: frontendrun: |sudo wget -qO /etc/apt/trusted.gpg.d/dart_linux_signing_key.asc https://dl-ssl.google.com/linux/linux_signing_key.pubsudo apt-get updatesudo apt-get install -y build-essential libsqlite3-dev libssl-dev clang cmake ninja-build pkg-config libgtk-3-dev- make install_rustsource $HOME/.cargo/envcargo install --force cargo-makecargo install --force duckscript_cli@@ -76,31 +80,35 @@ jobs:asset_name: ${{ env.LINUX_ZIP_NAME }}asset_content_type: application/octet-stream- build-macos:+ build-macos-x86_64:runs-on: macos-latestneeds: create-releaseenv:MACOS_APP_RELEASE_PATH: frontend/app_flowy/product/${{ github.ref_name }}/macos/Release- MACOS_ZIP_NAME: Appflowy-macos-x86.zip+ MACOS_X86_ZIP_NAME: Appflowy-macos-x86_64.zipsteps:- name: Checkoutuses: actions/checkout@v2++ - name: Setup environment - Rust and Cargo+ uses: actions-rs/toolchain@v1+ with:+ toolchain: stable- name: Setup environment - Flutteruses: subosito/flutter-action@v2with:channel: 'stable'- - name: Setup environment - Rust and Cargo+ - name: Pre buildworking-directory: frontendrun: |- make install_rustsource $HOME/.cargo/envcargo install --force cargo-makecargo install --force duckscript_clicargo make flowy_dev- - name: Build macOS app+ - name: Build macOS app for x86_64working-directory: frontendrun: |flutter config --enable-macos-desktop@@ -108,15 +116,14 @@ jobs:- name: Archive macOS appworking-directory: ${{ env.MACOS_APP_RELEASE_PATH }}- run: zip -qr ${{ env.MACOS_ZIP_NAME }} AppFlowy.app+ run: zip -qr ${{ env.MACOS_X86_ZIP_NAME }} AppFlowy.app- name: Upload Release Asset- id: upload-release-assetuses: actions/upload-release-asset@v1env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:upload_url: ${{ needs.create-release.outputs.upload_url }}- asset_path: ${{ env.MACOS_APP_RELEASE_PATH }}/${{ env.MACOS_ZIP_NAME }}- asset_name: ${{ env.MACOS_ZIP_NAME }}+ asset_path: ${{ env.MACOS_APP_RELEASE_PATH }}/${{ env.MACOS_X86_ZIP_NAME }}+ asset_name: ${{ env.MACOS_X86_ZIP_NAME }}asset_content_type: application/octet-stream\ No newline at end of file