Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenDoXiu committed Jan 5, 2025
1 parent 304d000 commit c248f1a
Showing 1 changed file with 4 additions and 39 deletions.
43 changes: 4 additions & 39 deletions .github/workflows/flutter-pre-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "stable"
cache: true

- name: 拉取代码
uses: actions/checkout@v4
Expand Down Expand Up @@ -88,6 +89,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "stable"
cache: true

- name: 安装ninja、libgtk
run: |
Expand Down Expand Up @@ -127,6 +129,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "stable"
cache: true

- name: 安装依赖项
run: flutter pub get
Expand Down Expand Up @@ -164,6 +167,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "stable"
cache: true

- name: 安装依赖项
run: flutter pub get
Expand All @@ -189,42 +193,3 @@ jobs:
name: build-macos
path: |
MoeKey-${{ needs.pre-build.outputs.APP_VERSION }}-macOS-universal-release.zip
# release:
# name: 上传包
# needs: [build-apk, build-linux, build-windows, build-macos, pre-build]
# runs-on: ubuntu-latest
# permissions:
# contents: write
# steps:
# - name: 下载apk
# uses: actions/download-artifact@v4
# with:
# name: build-apk
# path: artifact
#
# - name: 下载linux
# uses: actions/download-artifact@v4
# with:
# name: build-linux
# path: artifact
#
# - name: 下载windows
# uses: actions/download-artifact@v4
# with:
# name: build-windows
# path: artifact
#
# - name: 下载macOS
# uses: actions/download-artifact@v4
# with:
# name: build-macos
# path: artifact
#
# - name: 创建releases
# id: create_release
# uses: softprops/action-gh-release@v2
# with:
# tag_name: ${{ needs.pre-build.outputs.APP_VERSION }}
# files: ./artifact/*
# body: "[CHANGELOG.md](CHANGELOG.md)"

0 comments on commit c248f1a

Please sign in to comment.