choose your own platform (#89)

This commit is contained in:
Edwin Sirko
2024-02-06 12:56:38 -05:00
committed by GitHub
parent d4e4f829cb
commit 2222ac6d53
+10 -1
View File
@@ -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: |