mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Merge branch 'preview-fixes'
This commit is contained in:
commit
2daca2959a
@ -48,10 +48,6 @@
|
||||
"name": "Build features",
|
||||
"run": "cd registry\npnpm install\ncd ../\npnpm run build-features\n"
|
||||
},
|
||||
{
|
||||
"name": "Build GitHub config",
|
||||
"run": "pnpm run build-github-config"
|
||||
},
|
||||
{
|
||||
"name": "Git commit",
|
||||
"id": "commit",
|
||||
|
||||
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -1,16 +1,24 @@
|
||||
name: Build
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- master-cdn
|
||||
- preview
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: "0"
|
||||
- name: Setup git
|
||||
run: |-
|
||||
git config --local user.email github-actions[bot]@users.noreply.github.com
|
||||
git config --local user.name github-actions[bot]
|
||||
git config --global core.autocrlf true
|
||||
git config --global core.safecrlf false
|
||||
- name: Install dependencies
|
||||
uses: pnpm/action-setup@v2.2.4
|
||||
with:
|
||||
@ -28,15 +36,9 @@ jobs:
|
||||
pnpm install
|
||||
cd ../
|
||||
pnpm run build-features
|
||||
- name: Build GitHub config
|
||||
run: pnpm run build-github-config
|
||||
- name: Git commit
|
||||
id: commit
|
||||
run: |
|
||||
git config --local user.email github-actions[bot]@users.noreply.github.com
|
||||
git config --local user.name github-actions[bot]
|
||||
git config --global core.autocrlf true
|
||||
git config --global core.safecrlf false
|
||||
git add --all
|
||||
git commit -m "CI build"
|
||||
continue-on-error: true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user