Skip to content

Commit

Permalink
fix(ci): update build desktop ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ysfscream committed Nov 10, 2023
1 parent 16f18c2 commit e449e7c
Showing 1 changed file with 10 additions and 24 deletions.
34 changes: 10 additions & 24 deletions .github/workflows/build_desktop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# os: [ubuntu-latest]

steps:
- name: Check out Git repository
Expand All @@ -29,33 +28,20 @@ jobs:
with:
node-version: '18.17'

- name: use pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Cache pnpm modules
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Install dependencies
run: pnpm install
- name: Install Dependencies
run: npm install

- name: Build Linux
- name: build-linux
if: matrix.os == 'ubuntu-latest'
run: pnpm run build:linux
run: npm run build:linux

- name: Build macOS
# if: matrix.os == 'macos-latest'
run: pnpm run build:mac
- name: build-mac
if: matrix.os == 'macos-latest'
run: npm run build:mac

- name: Build Win
# if: matrix.os == 'windows-latest'
run: pnpm run build:win
- name: build-win
if: matrix.os == 'windows-latest'
run: npm run build:win

# - name: release
# uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit e449e7c

Please sign in to comment.