Skip to content

Commit

Permalink
refactor: build release
Browse files Browse the repository at this point in the history
  • Loading branch information
appflowy committed Nov 14, 2023
1 parent 63f2178 commit 40b210f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ jobs:
working-directory: frontend/appflowy_flutter
shell: bash

- uses: actions/upload-artifact@v2
with:
name: appflowy-artifact
path: .

build-for-windows:
strategy:
fail-fast: false
Expand All @@ -151,6 +156,11 @@ jobs:
WINDOWS_INSTALLER_NAME: ${{ matrix.environment }}_AppFlowy_${{ github.ref_name }}_windows-x86_64

steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: appflowy-artifact

- name: Build Windows app
working-directory: frontend
run: |
Expand Down Expand Up @@ -194,6 +204,10 @@ jobs:
MACOS_APP_RELEASE_PATH: frontend/appflowy_flutter/product/${{ needs.prepare.outputs.version }}/macos/Release
MACOS_DMG_NAME: ${{ matrix.environment }}_AppFlowy_${{ github.ref_name }}_macos-x86_64
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: appflowy-artifact
- name: Build AppFlowy
working-directory: frontend
run: |
Expand Down Expand Up @@ -258,6 +272,11 @@ jobs:
LINUX_PACKAGE_RPM_NAME: ${{ matrix.environment }}-AppFlowy-${{ needs.prepare.outputs.version }}-linux-x86_64.rpm
LINUX_PACKAGE_TMP_RPM_NAME: AppFlowy-${{ needs.prepare.outputs.version }}-2.x86_64.rpm
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: appflowy-artifact

- name: Install gcc-aarch64-linux-gnu
if: ${{ matrix.target == 'aarch64-unknown-linux-gnu' }}
working-directory: frontend
Expand Down

0 comments on commit 40b210f

Please sign in to comment.