mirror of
https://github.com/CarlGao4/um-react-electron.git
synced 2025-05-23 16:27:43 +08:00
Compare commits
No commits in common. "main" and "0.3.1" have entirely different histories.
21
.github/workflows/build-electron.yml
vendored
21
.github/workflows/build-electron.yml
vendored
@ -35,22 +35,12 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
ref: ${{ inputs.commit || github.sha }}
|
||||
|
||||
# 关键修改:补充编译依赖
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
sudo dpkg --add-architecture i386
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y \
|
||||
npm \
|
||||
wine32 \
|
||||
build-essential \
|
||||
python3 \
|
||||
libxi-dev \
|
||||
libgl1-mesa-dev \
|
||||
libpng-dev
|
||||
sudo apt-get install npm wine32
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
@ -61,7 +51,7 @@ jobs:
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
cd um-react
|
||||
pnpm install --no-frozen-lockfile
|
||||
pnpm install --frozen-lockfile
|
||||
cd ..
|
||||
npm install --frozen-lockfile
|
||||
|
||||
@ -98,11 +88,8 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
|
||||
# macOS 补充依赖
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
brew install node
|
||||
brew install pkg-config cairo pango libpng jpeg giflib
|
||||
run: brew install node
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
@ -113,7 +100,7 @@ jobs:
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
cd um-react
|
||||
pnpm install --no-frozen-lockfile
|
||||
pnpm install --frozen-lockfile
|
||||
cd ..
|
||||
npm install --frozen-lockfile
|
||||
|
||||
|
2
um-react
2
um-react
@ -1 +1 @@
|
||||
Subproject commit d91e2fffe4747da635d4d82579205a0e8a8a298e
|
||||
Subproject commit e9a95d1bd63142fd693ae9fafa1126926e7ac8cd
|
Loading…
x
Reference in New Issue
Block a user