diff --git a/.github/workflows/ci-e2e.yml b/.github/workflows/ci-e2e.yml index 533cc91..8abd256 100644 --- a/.github/workflows/ci-e2e.yml +++ b/.github/workflows/ci-e2e.yml @@ -2,6 +2,15 @@ name: E2E Test on: workflow_dispatch: + inputs: + runs_on: + description: 'Platform to run publish-immutable-action on' + default: 'ubuntu-latest' + type: choice + options: + - ubuntu-latest + - macos-latest + - windows-latest permissions: {} @@ -21,7 +30,7 @@ jobs: -H "Authorization: Bearer ${{ secrets.PAT }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/immutable-actions/test-publish-internal-ts-action/dispatches \ - -d '{"event_type":"e2e-test","client_payload":{"unit":false,"integration":true,"sha":"${{ github.sha }}"}}' + -d '{"event_type":"on-demand-test","client_payload":{"unit":false,"integration":true,"sha":"${{ github.sha }}","runs_on":"${{ inputs.runs_on }}"}}' - name: Wait for successful publish id: wait-for-successful-publish run: |