mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 08:57:01 +08:00
parent
18dfca5f39
commit
3421d27be9
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -15,6 +15,8 @@ jobs:
|
|||
|
||||
- name: checkout repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: install dfs
|
||||
run: |
|
||||
|
@ -46,6 +48,8 @@ jobs:
|
|||
|
||||
- name: checkout repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: install dfs
|
||||
run: |
|
||||
|
|
|
@ -13,7 +13,7 @@ if [[ ${#dfs_commit} != 40 ]]; then
|
|||
fi
|
||||
# fetch origin
|
||||
cd $DOTFILES
|
||||
git fetch
|
||||
git fetch --all
|
||||
if [[ -n "$(git status -s)" ]]; then
|
||||
fmt_error "directory not clean"
|
||||
post_log "ERROR" "$THIS_FILE" "directory not clean"
|
||||
|
|
Loading…
Reference in New Issue
Block a user