From 002d5dba5325a1fba0e9428f3f841ea7afc05030 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Thu, 26 Jun 2025 22:31:00 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Add=20Prerelease=20in?= =?UTF-8?q?put=20option=20to=20Action-Test=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Action-Test-Prerelease.yml | 26 -------------------- .github/workflows/Action-Test.yml | 6 +++++ 2 files changed, 6 insertions(+), 26 deletions(-) delete mode 100644 .github/workflows/Action-Test-Prerelease.yml 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 }}