diff --git a/.github/workflows/Action-Test-Prerelease.yml b/.github/workflows/Action-Test-Prerelease.yml deleted file mode 100644 index eb1c725..0000000 --- a/.github/workflows/Action-Test-Prerelease.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Action-Test-Prerelease - -run-name: "Action-Test - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" - -on: - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -permissions: - contents: read - pull-requests: read - -jobs: - ActionTest: - uses: ./.github/workflows/TestWorkflow.yml - secrets: inherit - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - with: - runs-on: ${{ matrix.os }} - Prerelease: true diff --git a/.github/workflows/Action-Test.yml b/.github/workflows/Action-Test.yml index 77b6918..a19cc64 100644 --- a/.github/workflows/Action-Test.yml +++ b/.github/workflows/Action-Test.yml @@ -4,6 +4,11 @@ run-name: "Action-Test - [${{ github.event.pull_request.title }} #${{ github.eve on: workflow_dispatch: + inputs: + Prerelease: + type: boolean + default: false + description: Use the prerelease version of GitHub PowerShell module. pull_request: schedule: - cron: '0 0 * * *' @@ -26,3 +31,4 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] with: runs-on: ${{ matrix.os }} + Prerelease: ${{ inputs.Prerelease }}