bugfix: the problem that the number of mirrors before and after may be inconsistent #9119
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "build" | |
on: | |
push: | |
branches: [ develop, master ] | |
pull_request: | |
branches: [ develop, master ] | |
jobs: | |
build_arm64-binary: | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' }} | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up QEMU | |
id: qemu | |
uses: docker/setup-qemu-action@v1 | |
- name: Build arm-binary | |
run: | | |
docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \ | |
arm64v8/ubuntu:20.04 \ | |
bash -exc 'apt-get update -y && \ | |
apt-get install maven -y && \ | |
mvn -Prelease-seata -Dmaven.test.skip=true clean install -U' | |
build: | |
name: "build" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ 8, 11 ] | |
steps: | |
# step 1 | |
- name: "Checkout" | |
uses: actions/[email protected] | |
# step 2 | |
- name: "Set up Java JDK" | |
uses: actions/[email protected] | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java }} | |
# step 3 | |
- name: "Build with Maven" | |
run: | | |
if [ "${{ matrix.java }}" == "8" ]; then | |
./mvnw -T 4C clean test -Dcheckstyle.skip=false -Dlicense.skip=false -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; | |
elif [ "${{ matrix.java }}" == "11" ]; then | |
./mvnw -T 4C clean test -Dcheckstyle.skip=true -Dlicense.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; | |
fi | |
# step 4 | |
- name: "Codecov" | |
if: matrix.java == '8' | |
uses: codecov/[email protected] |