mirror of
https://github.com/DictXiong/dotfiles.git
synced 2026-10-23 05:08:16 +08:00
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user