diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 79b631a0..229ab6a6 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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 }} diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 112d4506..ac0eab3d 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -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"