Skip to content

Commit

Permalink
💚 增加 CI ,支持多个 Git Repo
Browse files Browse the repository at this point in the history
💚 增加 CI ,支持多个 Git Repo

💚 增加 CI ,支持多个 Git Repo
  • Loading branch information
lltx committed Jun 10, 2024
1 parent 60f7509 commit 88c4237
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 8, 11, 17 ]
java-version: [ 8 ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java-version }}
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,12 @@ jobs:
with:
source-repo: "[email protected]:pig-mesh/pig.git"
destination-repo: "[email protected]:lengleng/pig.git"
- name: Delete existing repository
run: sudo rm -rf /home/runner/work/pig/pig

- uses: wearerequired/git-mirror-action@master #同步至 gitee
env:
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
with:
source-repo: "[email protected]:pig-mesh/pig.git"
destination-repo: "[email protected]:log4j/pig.git"

0 comments on commit 88c4237

Please sign in to comment.