Skip to content

Commit

Permalink
Upgrade hub-mirror-action to 1.4 (#72)
Browse files Browse the repository at this point in the history
- Separate mindspore as static mirror
- Upgrade hub-mirror-action to 1.4
- Enable lfs
  • Loading branch information
Yikun authored Jul 22, 2024
1 parent 7ecf06a commit aa416c4
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/repos-mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Mirror the mindspore.
uses: Yikun/[email protected]
with:
src: gitee/mindspore
dst: github/mindspore-ai
dst_key: ${{ secrets.SYNC_MINDSPORE_PRIVATE_KEY }}
dst_token: ${{ secrets.SYNC_MINDSPORE_TOKEN }}
account_type: org
clone_style: ssh
force_update: true
static_list: 'mindspore'
debug: true
lfs: true
- name: Mirror the gitee/mindspore org repos to github/mindspore-ai.
uses: Yikun/hub-mirror-action@v1.3
uses: Yikun/hub-mirror-action@v1.4
with:
src: gitee/mindspore
dst: github/mindspore-ai
Expand All @@ -28,3 +41,4 @@ jobs:
force_update: true
black_list: 'infrastructure,mindcv,mindformers'
debug: true
lfs: true

0 comments on commit aa416c4

Please sign in to comment.