Skip to content

Commit

Permalink
ci: 开启macos编译
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzqs authored Nov 13, 2022
1 parent 317ad16 commit 4844e9b
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/board.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,30 +98,30 @@ jobs:
- name: 🏗️ Build iOS
run: flutter build ios --no-codesign

# build-MacOS:
# runs-on: macos-latest
# steps:
# - uses: nelonoel/[email protected]
# - uses: benjlevesque/[email protected]
# id: short-sha
# with: { length: 7 }
# - uses: actions/checkout@v3

# - uses: subosito/flutter-action@v2
# with: { channel: stable, cache: true }

# # Building
# - name: Build macOS
# run: |
# flutter config --enable-macos-desktop
# flutter pub get
# flutter build macos --release

# - name: Upload web File
# uses: actions/upload-artifact@v3
# with:
# name: ${{ env.BRANCH_NAME }}-${{ env.SHA }}-macos.zip
# path: build/macos/Build/Products/Release
build-MacOS:
runs-on: macos-latest
steps:
- uses: nelonoel/[email protected]
- uses: benjlevesque/[email protected]
id: short-sha
with: { length: 7 }
- uses: actions/checkout@v3

- uses: subosito/flutter-action@v2
with: { channel: stable, cache: true }

# Building
- name: Build macOS
run: |
flutter config --enable-macos-desktop
flutter pub get
flutter build macos --release
- name: Upload web File
uses: actions/upload-artifact@v3
with:
name: ${{ env.BRANCH_NAME }}-${{ env.SHA }}-macos.zip
path: build/macos/Build/Products/Release

build-Web:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4844e9b

Please sign in to comment.