Skip to content

Commit

Permalink
core: action 使用中文
Browse files Browse the repository at this point in the history
  • Loading branch information
bin456789 committed Sep 16, 2023
1 parent 11dc3c7 commit 1cd95d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: test

name: 运行主程序
on: [push, workflow_dispatch]

jobs:
test:
run:
name: 运行主程序
strategy:
fail-fast: false
matrix:
Expand All @@ -15,13 +14,10 @@ jobs:
command: ./reinstall.bat --debug
runs-on: ${{ matrix.os }}
steps:
- name: Disable Git autocrlf
run: |
- run: |
git config --global core.autocrlf false
- name: Checkout
uses: actions/checkout@v3
- name: Run Script
shell: bash # https://github.com/actions/runner-images/issues/6668
- uses: actions/checkout@v4
- shell: bash # https://github.com/actions/runner-images/issues/6668
run: |
${{ matrix.command }} centos 7
${{ matrix.command }} alma-8
Expand All @@ -41,6 +37,7 @@ jobs:
${{ matrix.command }} debian --ci
${{ matrix.command }} opensuse
${{ matrix.command }} arch
${{ matrix.command }} gentoo
# 测试失败例子
! ${{ matrix.command }} wrong-os
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync_to_gitee.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: 同步到 Gitee
on: [push, workflow_dispatch]
jobs:
sync:
name: 同步到 Gitee
runs-on: ubuntu-latest
steps:
- name: 同步到 Gitee
uses: Yikun/hub-mirror-action@master
- uses: Yikun/hub-mirror-action@master
with:
src: github/bin456789
dst: gitee/bin456789
Expand Down

0 comments on commit 1cd95d0

Please sign in to comment.