💚 增加 CI ,支持多个 Git Repo

💚 增加 CI ,支持多个 Git Repo

💚 增加 CI ,支持多个 Git Repo
This commit is contained in:
冷冷 2024-06-10 08:48:41 +08:00
parent 60f7509d24
commit 88c4237a91
2 changed files with 10 additions and 1 deletions

View File

@ -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 }}

View File

@ -14,3 +14,12 @@ jobs:
with:
source-repo: "git@github.com:pig-mesh/pig.git"
destination-repo: "git@code.gitlink.org.cn: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: "git@github.com:pig-mesh/pig.git"
destination-repo: "git@gitee.com:log4j/pig.git"