diff --git a/.github/workflows/scheduled-e2e.yaml b/.github/workflows/scheduled-e2e.yaml index 4928c5074b8..9ece56aa616 100644 --- a/.github/workflows/scheduled-e2e.yaml +++ b/.github/workflows/scheduled-e2e.yaml @@ -703,16 +703,6 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Create branch directory - run: mkdir -p test/e2e/kube-ovn/branches/${{ matrix.branch }} - - - name: Check out branch - uses: actions/checkout@v3 - with: - ref: ${{ matrix.branch }} - fetch-depth: 1 - path: test/e2e/kube-ovn/branches/${{ matrix.branch }} - - uses: actions/setup-go@v4 with: go-version-file: go.mod @@ -731,6 +721,16 @@ jobs: key: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-${{ hashFiles('**/go.sum') }} restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86- + - name: Create branch directory + run: mkdir -p test/e2e/kube-ovn/branches/${{ matrix.branch }} + + - name: Check out branch + uses: actions/checkout@v3 + with: + ref: ${{ matrix.branch }} + fetch-depth: 1 + path: test/e2e/kube-ovn/branches/${{ matrix.branch }} + - name: Install kind uses: helm/kind-action@v1.7.0 with: @@ -773,16 +773,6 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Create branch directory - run: mkdir -p test/e2e/kube-ovn/branches/${{ matrix.branch }} - - - name: Check out branch - uses: actions/checkout@v3 - with: - ref: ${{ matrix.branch }} - fetch-depth: 1 - path: test/e2e/kube-ovn/branches/${{ matrix.branch }} - - uses: actions/setup-go@v4 with: go-version-file: go.mod @@ -801,6 +791,16 @@ jobs: key: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-${{ hashFiles('**/go.sum') }} restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86- + - name: Create branch directory + run: mkdir -p test/e2e/kube-ovn/branches/${{ matrix.branch }} + + - name: Check out branch + uses: actions/checkout@v3 + with: + ref: ${{ matrix.branch }} + fetch-depth: 1 + path: test/e2e/kube-ovn/branches/${{ matrix.branch }} + - name: Install kind uses: helm/kind-action@v1.7.0 with: @@ -842,16 +842,6 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Create branch directory - run: mkdir -p test/e2e/kube-ovn/branches/${{ matrix.branch }} - - - name: Check out branch - uses: actions/checkout@v3 - with: - ref: ${{ matrix.branch }} - fetch-depth: 1 - path: test/e2e/kube-ovn/branches/${{ matrix.branch }} - - uses: actions/setup-go@v4 with: go-version-file: go.mod @@ -870,6 +860,16 @@ jobs: key: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-${{ hashFiles('**/go.sum') }} restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86- + - name: Create branch directory + run: mkdir -p test/e2e/kube-ovn/branches/${{ matrix.branch }} + + - name: Check out branch + uses: actions/checkout@v3 + with: + ref: ${{ matrix.branch }} + fetch-depth: 1 + path: test/e2e/kube-ovn/branches/${{ matrix.branch }} + - name: Install kind uses: helm/kind-action@v1.7.0 with: