mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-22 12:48:58 +08:00
💚 增加 CI ,支持多个 Git Repo
💚 增加 CI ,支持多个 Git Repo 💚 增加 CI ,支持多个 Git Repo
This commit is contained in:
parent
60f7509d24
commit
88c4237a91
2
.github/workflows/maven.yml
vendored
2
.github/workflows/maven.yml
vendored
@ -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 }}
|
||||
|
9
.github/workflows/mirror.yml
vendored
9
.github/workflows/mirror.yml
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user