Skip to content

Commit

Permalink
📝 update action version for template
Browse files Browse the repository at this point in the history
  • Loading branch information
yi-Xu-0100 committed Feb 2, 2021
1 parent cadee32 commit afb99b5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sync2gitee.list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
cache_path: /github/workspace/hub-mirror-cache
account_type: user
force_update: true
timeout: 300
timeout: 10m

- name: Print cache path
run: |
Expand Down
6 changes: 3 additions & 3 deletions template/sync2gitee.cached.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: sync2gitee(cached)
# version: 1.3.1
# version: 1.3.2
# author: [yiXu](https://github.com/yi-Xu-0100)
# guide: [yi-Xu-0100/hub-mirror](https://github.com/yi-Xu-0100/hub-mirror)
# template: [sync2gitee.cached.yml](https://github.com/yi-Xu-0100/hub-mirror/blob/main/template/sync2gitee.cached.yml)
# lastmod: 2021-01-29 23:06:39
# lastmod: 2021-02-02 10:23:30
on:
push:
schedule:
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
restore-keys: ${{ runner.os }}-${{ steps.info.outputs.key }}-cache-

- name: Mirror the GitHub repos to Gitee with cache
uses: Yikun/hub-mirror-action@v0.12
uses: Yikun/hub-mirror-action@v0.13
with:
src: github/yi-Xu-0100
dst: gitee/yiXu0100
Expand Down
11 changes: 4 additions & 7 deletions template/sync2gitee.list.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: sync2gitee(list)
# version: 1.0.4
# version: 1。1.0
# author: [yiXu](https://github.com/yi-Xu-0100)
# guide: [yi-Xu-0100/hub-mirror](https://github.com/yi-Xu-0100/hub-mirror)
# template: [sync2gitee.list.yml](https://github.com/yi-Xu-0100/hub-mirror/blob/main/template/sync2gitee.list.yml)
# lastmod: 2021-01-29 23:06:10
# lastmod: 2021-02-02 10:23:02

on:
workflow_dispatch:
Expand Down Expand Up @@ -36,13 +36,10 @@ jobs:

- name: Generate repo list
id: repo
uses: yi-Xu-0100/[email protected]
with:
user: yi-Xu-0100
my_token: ${{ secrets.REPO_TOKEN }}
uses: yi-Xu-0100/[email protected]

- name: Mirror hub with cache and list
uses: Yikun/hub-mirror-action@v0.12
uses: Yikun/hub-mirror-action@v0.13
with:
src: github/yi-Xu-0100
dst: gitee/yiXu0100
Expand Down
6 changes: 3 additions & 3 deletions template/sync2gitee.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: sync2gitee
# version: 1.0.2
# version: 1.0.3
# author: [yiXu](https://github.com/yi-Xu-0100)
# guide: [yi-Xu-0100/hub-mirror](https://github.com/yi-Xu-0100/hub-mirror)
# template: [sync2gitee.yml](https://github.com/yi-Xu-0100/hub-mirror/blob/main/template/sync2gitee.yml)
# lastmod: 2021-01-29 23:05:54
# lastmod: 2021-02-02 10:21:55

on:
push:
Expand All @@ -27,7 +27,7 @@ jobs:
return context.repo.repo;
- name: Mirror the GitHub repos to Gitee
uses: Yikun/hub-mirror-action@v0.12
uses: Yikun/hub-mirror-action@v0.13
with:
src: github/yi-Xu-0100
dst: gitee/yiXu0100
Expand Down

0 comments on commit afb99b5

Please sign in to comment.