Skip to content

Commit 506569f

Browse files
🩹 [Patch]: Add Prerelease input option to Action-Test workflow (#57)
## Description This pull request updates the GitHub Actions workflow configuration for testing. The main changes include removing the `Action-Test-Prerelease.yml` file and integrating its functionality into the `Action-Test.yml` file by introducing a new `Prerelease` input parameter. ### Workflow configuration updates: * [`.github/workflows/Action-Test-Prerelease.yml`](diffhunk://#diff-b5194b0e3305a1cd2a92e3524b1d419f9f3b4ee3d039158dcf12a513a3455953L1-L26): Removed the file entirely, consolidating its functionality into the main `Action-Test.yml` workflow. * [`.github/workflows/Action-Test.yml`](diffhunk://#diff-a12ae5c885b0673c0ff6f70c2670886907590d624626e07da4c52e01aeaf56a4R7-R11): Added a new `Prerelease` input parameter to the `workflow_dispatch` event, allowing users to specify whether to use the prerelease version of the GitHub PowerShell module. * [`.github/workflows/Action-Test.yml`](diffhunk://#diff-a12ae5c885b0673c0ff6f70c2670886907590d624626e07da4c52e01aeaf56a4R34): Updated the `jobs` section to pass the `Prerelease` input parameter to the workflow, ensuring compatibility with the consolidated functionality. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [x] 🪲 [Fix] - [ ] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent 4463abf commit 506569f

File tree

2 files changed

+6
-26
lines changed

2 files changed

+6
-26
lines changed

.github/workflows/Action-Test-Prerelease.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/Action-Test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ run-name: "Action-Test - [${{ github.event.pull_request.title }} #${{ github.eve
44

55
on:
66
workflow_dispatch:
7+
inputs:
8+
Prerelease:
9+
type: boolean
10+
default: false
11+
description: Use the prerelease version of GitHub PowerShell module.
712
pull_request:
813
schedule:
914
- cron: '0 0 * * *'
@@ -26,3 +31,4 @@ jobs:
2631
os: [ubuntu-latest, macos-latest, windows-latest]
2732
with:
2833
runs-on: ${{ matrix.os }}
34+
Prerelease: ${{ inputs.Prerelease }}

0 commit comments

Comments
 (0)