mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 10:27:00 +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
|
- name: checkout repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: install dfs
|
- name: install dfs
|
||||||
run: |
|
run: |
|
||||||
|
@ -46,6 +48,8 @@ jobs:
|
||||||
|
|
||||||
- name: checkout repo
|
- name: checkout repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: install dfs
|
- name: install dfs
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -13,7 +13,7 @@ if [[ ${#dfs_commit} != 40 ]]; then
|
||||||
fi
|
fi
|
||||||
# fetch origin
|
# fetch origin
|
||||||
cd $DOTFILES
|
cd $DOTFILES
|
||||||
git fetch
|
git fetch --all
|
||||||
if [[ -n "$(git status -s)" ]]; then
|
if [[ -n "$(git status -s)" ]]; then
|
||||||
fmt_error "directory not clean"
|
fmt_error "directory not clean"
|
||||||
post_log "ERROR" "$THIS_FILE" "directory not clean"
|
post_log "ERROR" "$THIS_FILE" "directory not clean"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user