diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 81563e4b2..70749743d 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -56,12 +56,3 @@ jobs: - uses: actions/setup-go@v5 with: go-version-file: go.mod - - - name: Run the upgrade e2e test - run: ARTIFACT_PATH=/tmp/artifacts make test-upgrade-e2e - - - uses: cytopia/upload-artifact-retry-action@v0.1.7 - if: failure() - with: - name: upgrade-e2e-artifacts - path: /tmp/artifacts/ diff --git a/.github/workflows/upgrade-e2e.yaml b/.github/workflows/upgrade-e2e.yaml new file mode 100644 index 000000000..2b269ef8b --- /dev/null +++ b/.github/workflows/upgrade-e2e.yaml @@ -0,0 +1,28 @@ +name: e2e + +on: + workflow_dispatch: + pull_request: + merge_group: + push: + branches: + - main + +jobs: + upgrade-e2e: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-go@v5 + with: + go-version-file: go.mod + + - name: Run the upgrade e2e test + run: ARTIFACT_PATH=/tmp/artifacts make test-upgrade-e2e + + - uses: cytopia/upload-artifact-retry-action@v0.1.7 + if: failure() + with: + name: upgrade-e2e-artifacts + path: /tmp/artifacts/