mirror of
https://hub.gitmirror.com/https://github.com/ExamAware/ExamShowboard-Legacy.git
synced 2025-04-29 07:56:33 +00:00
chore: 汉化
This commit is contained in:
parent
dae6a52745
commit
b88df856e4
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Build and Package Electron App
|
name: 推送时构建
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
2
.github/workflows/inactive.yaml
vendored
2
.github/workflows/inactive.yaml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Close inactive issues
|
name: 关闭不活跃 Issue 和 Pull Request
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
2
.github/workflows/prbuild.yaml
vendored
2
.github/workflows/prbuild.yaml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Check and Build Program
|
name: 检查 Pull Request 内容
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
15
.github/workflows/publish.yaml
vendored
15
.github/workflows/publish.yaml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Release Build and Package
|
name: 发布版本时构建应用
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
@ -16,28 +16,25 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.7
|
||||||
if: github.event.release.prerelease == false || matrix.os == 'windows-latest'
|
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
if: github.event.release.prerelease == false || matrix.os == 'windows-latest'
|
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install
|
run: yarn install
|
||||||
if: github.event.release.prerelease == false || matrix.os == 'windows-latest'
|
|
||||||
|
|
||||||
- name: Build and package for Windows
|
- name: Build and package for Windows
|
||||||
if: github.event.release.prerelease == false && matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
run: yarn build:win
|
run: yarn build:win
|
||||||
|
|
||||||
- name: Build and package for macOS
|
- name: Build and package for macOS
|
||||||
if: github.event.release.prerelease == true && matrix.os == 'macos-latest'
|
if: matrix.os == 'macos-latest'
|
||||||
run: yarn build:mac
|
run: yarn build:mac
|
||||||
|
|
||||||
- name: Build and package for Linux
|
- name: Build and package for Linux
|
||||||
if: github.event.release.prerelease == true && matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
run: yarn build:linux
|
run: yarn build:linux
|
||||||
|
|
||||||
- name: Upload artifact for Windows
|
- name: Upload artifact for Windows
|
||||||
@ -48,14 +45,14 @@ jobs:
|
|||||||
path: dist/*.exe
|
path: dist/*.exe
|
||||||
|
|
||||||
- name: Upload artifact for macOS
|
- name: Upload artifact for macOS
|
||||||
if: github.event.release.prerelease == true && matrix.os == 'macos-latest'
|
if: matrix.os == 'macos-latest'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ExamShowboard-macOS
|
name: ExamShowboard-macOS
|
||||||
path: dist/*.dmg
|
path: dist/*.dmg
|
||||||
|
|
||||||
- name: Upload artifact for Linux
|
- name: Upload artifact for Linux
|
||||||
if: github.event.release.prerelease == true && matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ExamShowboard-Linux
|
name: ExamShowboard-Linux
|
||||||
|
2
.github/workflows/similarity.yaml
vendored
2
.github/workflows/similarity.yaml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Issues Similarity Analysis
|
name: 相似 Issues 分析
|
||||||
|
|
||||||
on:
|
on:
|
||||||
issues:
|
issues:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user