diff --git a/.github/workflows/pkg_test.yml b/.github/workflows/pkg_test.yml index 143df2d..edcfbcb 100644 --- a/.github/workflows/pkg_test.yml +++ b/.github/workflows/pkg_test.yml @@ -2,6 +2,11 @@ name: Machine Setup Testing on: workflow_dispatch: + inputs: + branchName: + description: 'Branch to run on' + required: true + default: 'setup-action' jobs: setup_apple_silicon: @@ -9,6 +14,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + with: + ref: ${{ github.event.inputs.branchName }} - name: Set up Apple Silicon machine run: | @@ -20,6 +27,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + with: + ref: ${{ github.event.inputs.branchName }} - name: Set up Apple Intel machine run: | @@ -31,6 +40,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + with: + ref: ${{ github.event.inputs.branchName }} - name: Set up Linux machine run: |