Skip to content

✨ feat(home): 重构主页布局与标签栏组件 #2312

✨ feat(home): 重构主页布局与标签栏组件

✨ feat(home): 重构主页布局与标签栏组件 #2312

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will install Deno and run tests across stable and canary builds on Windows, Ubuntu and macOS.
# For more information see: https://github.com/denoland/setup-deno
name: Test
on:
pull_request:
branches: [main, dev]
push:
branches: [dev]
jobs:
build_package:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: Setup repo
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.SSH_KEY }}
submodules: recursive
- name: Cache electron-builder
uses: actions/cache@v4
with:
path: |
${{ runner.os == 'macOS' && '~/Library/Caches/electron' || '' }}
${{ runner.os == 'Linux' && '~/.cache/electron' || '' }}
${{ runner.os == 'Windows' && '~/AppData/Local/electron' || '' }}
key: ${{ runner.os }}-electron-${{ hashFiles('package.json') }}
restore-keys: |
${{ runner.os }}-electron-
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- name: Install dependencies
run: pnpm i
- name: Run test
run: |
pnpm package
env:
USE_HARD_LINKS: false
# DEBUG: electron-builder
- name: Gen version
run: |
SHORT_HASH=$(git rev-parse --short HEAD)
echo "HASH=$SHORT_HASH" >> $GITHUB_ENV
shell: bash
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: Fishing-Funds-${{ runner.os }}-${{ env.HASH }}
path: |
release/build/*.dmg
release/build/*.exe
release/build/*.AppImage
retention-days: 3