update workflow
Some checks failed
Check / Run backend checks (push) Has been cancelled
Check / Run frontend checks (push) Has been cancelled
Build Main Binary / build-binary (push) Has been cancelled

This commit is contained in:
2026-02-10 20:41:21 +08:00
parent 47909dd6bf
commit fc63c64a97
4 changed files with 28 additions and 28 deletions

View File

@@ -12,15 +12,15 @@ jobs:
working-directory: web
steps:
- name: Checkout repo
uses: actions/checkout@v4
uses: bf1942/checkout@v4
- name: Setup bun
uses: oven-sh/setup-bun@v2
uses: bf1942/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Cache dependencies
uses: actions/cache@v4
uses: bf1942/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('docs/bun.lockb') }}
@@ -29,7 +29,7 @@ jobs:
- name: Build Frontend
run: bun run build
- name: Upload Web Build Artifact
uses: actions/upload-artifact@v4
uses: bf1942/upload-artifact@v4
with:
name: web-build
path: web/build
@@ -67,22 +67,22 @@ jobs:
name: bili-sync-rs-Windows-x86_64.zip
steps:
- name: Checkout repo
uses: actions/checkout@v4
uses: bf1942/checkout@v4
with:
fetch-depth: 0
- name: Download Web Build Artifact
uses: actions/download-artifact@v4
uses: bf1942/download-artifact@v4
with:
name: web-build
path: web/build
- name: Read Toolchain Version
uses: SebRollen/toml-action@v1.2.0
uses: bf1942/toml-action@v1.2.0
id: read_rust_toolchain
with:
file: rust-toolchain.toml
field: toolchain.channel
- name: Build binary
uses: houseabsolute/actions-rust-cross@v1
uses: bf1942/actions-rust-cross@v1
with:
command: build
target: ${{ matrix.platform.target }}
@@ -99,7 +99,7 @@ jobs:
tar czvf ../../../${{ matrix.platform.name }} ${{ matrix.platform.bin }}
fi
- name: Upload release artifact
uses: actions/upload-artifact@v4
uses: bf1942/upload-artifact@v4
with:
name: bili-sync-rs-${{ matrix.platform.release_for }}
path: |