mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-31 10:58:06 +08:00
core: action 使用中文
This commit is contained in:
parent
11dc3c7a95
commit
1cd95d07fe
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@ -1,9 +1,8 @@
|
|||||||
name: test
|
name: 运行主程序
|
||||||
|
|
||||||
on: [push, workflow_dispatch]
|
on: [push, workflow_dispatch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
run:
|
||||||
|
name: 运行主程序
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -15,13 +14,10 @@ jobs:
|
|||||||
command: ./reinstall.bat --debug
|
command: ./reinstall.bat --debug
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Disable Git autocrlf
|
- run: |
|
||||||
run: |
|
|
||||||
git config --global core.autocrlf false
|
git config --global core.autocrlf false
|
||||||
- name: Checkout
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v3
|
- shell: bash # https://github.com/actions/runner-images/issues/6668
|
||||||
- name: Run Script
|
|
||||||
shell: bash # https://github.com/actions/runner-images/issues/6668
|
|
||||||
run: |
|
run: |
|
||||||
${{ matrix.command }} centos 7
|
${{ matrix.command }} centos 7
|
||||||
${{ matrix.command }} alma-8
|
${{ matrix.command }} alma-8
|
||||||
@ -41,6 +37,7 @@ jobs:
|
|||||||
${{ matrix.command }} debian --ci
|
${{ matrix.command }} debian --ci
|
||||||
${{ matrix.command }} opensuse
|
${{ matrix.command }} opensuse
|
||||||
${{ matrix.command }} arch
|
${{ matrix.command }} arch
|
||||||
|
${{ matrix.command }} gentoo
|
||||||
|
|
||||||
# 测试失败例子
|
# 测试失败例子
|
||||||
! ${{ matrix.command }} wrong-os
|
! ${{ matrix.command }} wrong-os
|
||||||
|
4
.github/workflows/sync_to_gitee.yaml
vendored
4
.github/workflows/sync_to_gitee.yaml
vendored
@ -2,10 +2,10 @@ name: 同步到 Gitee
|
|||||||
on: [push, workflow_dispatch]
|
on: [push, workflow_dispatch]
|
||||||
jobs:
|
jobs:
|
||||||
sync:
|
sync:
|
||||||
|
name: 同步到 Gitee
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 同步到 Gitee
|
- uses: Yikun/hub-mirror-action@master
|
||||||
uses: Yikun/hub-mirror-action@master
|
|
||||||
with:
|
with:
|
||||||
src: github/bin456789
|
src: github/bin456789
|
||||||
dst: gitee/bin456789
|
dst: gitee/bin456789
|
||||||
|
Loading…
x
Reference in New Issue
Block a user