From afb99b5694461f6b0f5e85c7bd0cae2228bb9001 Mon Sep 17 00:00:00 2001 From: yi_Xu Date: Tue, 2 Feb 2021 10:24:11 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20update=20action=20version=20for?= =?UTF-8?q?=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/sync2gitee.list.yml | 2 +- template/sync2gitee.cached.yml | 6 +++--- template/sync2gitee.list.yml | 11 ++++------- template/sync2gitee.yml | 6 +++--- 4 files changed, 11 insertions(+), 14 deletions(-) diff --git a/.github/workflows/sync2gitee.list.yml b/.github/workflows/sync2gitee.list.yml index c50cf07..65b1d3e 100644 --- a/.github/workflows/sync2gitee.list.yml +++ b/.github/workflows/sync2gitee.list.yml @@ -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: | diff --git a/template/sync2gitee.cached.yml b/template/sync2gitee.cached.yml index 0598e5d..be00f2d 100644 --- a/template/sync2gitee.cached.yml +++ b/template/sync2gitee.cached.yml @@ -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: @@ -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 diff --git a/template/sync2gitee.list.yml b/template/sync2gitee.list.yml index 9d94911..b926545 100644 --- a/template/sync2gitee.list.yml +++ b/template/sync2gitee.list.yml @@ -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: @@ -36,13 +36,10 @@ jobs: - name: Generate repo list id: repo - uses: yi-Xu-0100/repo-list-generator@v0.4.1 - with: - user: yi-Xu-0100 - my_token: ${{ secrets.REPO_TOKEN }} + uses: yi-Xu-0100/repo-list-generator@v1.0.0 - 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 diff --git a/template/sync2gitee.yml b/template/sync2gitee.yml index 90f04c2..5e69a27 100644 --- a/template/sync2gitee.yml +++ b/template/sync2gitee.yml @@ -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: @@ -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