mirror of https://github.com/bjdgyc/anylink.git
Update go-update.yml
This commit is contained in:
parent
1f5d7d0dab
commit
1df0f60ed3
|
@ -2,7 +2,7 @@ name: go-update
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * */7"
|
- cron: "1 2 * * 5"
|
||||||
jobs:
|
jobs:
|
||||||
go:
|
go:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -34,7 +34,8 @@ jobs:
|
||||||
git gc --aggressive
|
git gc --aggressive
|
||||||
git add --all
|
git add --all
|
||||||
git commit -m "update go.mod $(date +%Y.%m.%d.%H.%M)"
|
git commit -m "update go.mod $(date +%Y.%m.%d.%H.%M)"
|
||||||
git push -f -u origin dev
|
#git push -f -u origin _autoaction
|
||||||
|
git push -u origin _autoaction
|
||||||
|
|
||||||
# 删除无用 workflow runs;
|
# 删除无用 workflow runs;
|
||||||
- name: Delete workflow runs
|
- name: Delete workflow runs
|
||||||
|
|
Loading…
Reference in New Issue