fix: use dart build script on Windows (#3141)

This commit is contained in:
Alex Wallen 2023-08-08 01:08:34 -07:00 committed by GitHub
parent e2dd179001
commit 9d18e9de40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ jobs:
working-directory: frontend working-directory: frontend
run: | run: |
flutter config --enable-windows-desktop flutter config --enable-windows-desktop
cargo make --env APP_VERSION=${{ github.ref_name }} --profile production-windows-x86 appflowy dart ./scripts/flutter_release_build/build_flowy.dart . ${{ github.ref_name }}
- name: Archive Asset - name: Archive Asset
uses: vimtor/action-zip@v1 uses: vimtor/action-zip@v1
@ -224,7 +224,11 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
job: job:
- { targets: 'aarch64-apple-darwin,x86_64-apple-darwin', os: macos-11, extra-build-args: "" } - {
targets: "aarch64-apple-darwin,x86_64-apple-darwin",
os: macos-11,
extra-build-args: "",
}
steps: steps:
- name: Checkout source code - name: Checkout source code
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -446,7 +450,13 @@ jobs:
notify-discord: notify-discord:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [build-for-linux, build-for-windows, build-for-macOS-x86_64, build-for-macOS-universal] needs:
[
build-for-linux,
build-for-windows,
build-for-macOS-x86_64,
build-for-macOS-universal,
]
steps: steps:
- name: Notify Discord - name: Notify Discord
run: | run: |