Skip to content

Commit 45b8d3e

Browse files
committed
feat: Add Linux dependencies installation to release workflow
(为发布工作流添加 Linux 依赖安装) - Add a step to install necessary dependencies (libgtk-3-dev, ninja-build, liblzma-dev, libstdc++-12-dev) on Linux platform in the release workflow (`.github/workflows/release.yml`). (在发布工作流 (`.github/workflows/release.yml`) 中添加一个步骤, 用于在 Linux 平台上安装必要的依赖项 (libgtk-3-dev, ninja-build, liblzma-dev, libstdc++-12-dev)。)
1 parent 0a88c92 commit 45b8d3e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ jobs:
4949
uses: actions/checkout@v4
5050
with:
5151
fetch-depth: 0
52+
53+
- name: Install Linux Dependencies
54+
if: matrix.platform == 'linux'
55+
run: |
56+
sudo apt-get update
57+
sudo apt-get install -y libgtk-3-dev ninja-build liblzma-dev libstdc++-12-dev
5258
5359
- name: Setup Flutter
5460
uses: flutter-actions/setup-flutter@v4

0 commit comments

Comments
 (0)