mirror of
https://github.com/venera-app/venera.git
synced 2025-09-28 00:07:24 +00:00
27
.github/workflows/main.yml
vendored
27
.github/workflows/main.yml
vendored
@@ -129,27 +129,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: windows_build
|
name: windows_build
|
||||||
path: build/windows/Venera-*
|
path: build/windows/Venera-*
|
||||||
Build_Windows_Arm64:
|
|
||||||
runs-on: windows-11-arm
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: install dependencies
|
|
||||||
run: |
|
|
||||||
choco install yq -y
|
|
||||||
pip install httpx
|
|
||||||
- uses: subosito/flutter-action@v2
|
|
||||||
with:
|
|
||||||
channel: "master"
|
|
||||||
# Only master branch supports windows arm64
|
|
||||||
# flutter-version-file: pubspec.yaml
|
|
||||||
- name: build
|
|
||||||
run: |
|
|
||||||
flutter pub get
|
|
||||||
python windows/build_arm64.py
|
|
||||||
- uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: windows_arm64_build
|
|
||||||
path: build/windows/Venera-*
|
|
||||||
Build_Linux:
|
Build_Linux:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
@@ -277,7 +256,7 @@ jobs:
|
|||||||
|
|
||||||
Release:
|
Release:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: [Build_MacOS, Build_IOS, Build_Android, Build_Windows, Build_Windows_Arm64, Build_Linux, Build_Linux_ARM64]
|
needs: [Build_MacOS, Build_IOS, Build_Android, Build_Windows, Build_Linux, Build_Linux_ARM64]
|
||||||
if: github.event_name == 'release' # 仅在 push 事件时执行
|
if: github.event_name == 'release' # 仅在 push 事件时执行
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
@@ -296,10 +275,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: windows_build
|
name: windows_build
|
||||||
path: outputs
|
path: outputs
|
||||||
- uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: windows_arm64_build
|
|
||||||
path: outputs
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: deb_build
|
name: deb_build
|
||||||
|
Reference in New Issue
Block a user