Skip to content

Commit

Permalink
Add allow-test-packages option
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Strauss <[email protected]>
  • Loading branch information
gstrauss authored and jon-turney committed Jan 5, 2025
1 parent 2e92635 commit 9d87f98
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ inputs:
description: Should Cygwin's bin directory be added to the system PATH?
required: false
default: true
allow-test-packages:
description: Consider package versions marked test
required: false
default: false

runs:
using: "composite"
Expand All @@ -55,6 +59,10 @@ runs:
'-R', '${{ inputs.install-dir }}'
)
if ( '${{ inputs.allow-test-packages }}' ) {
$args += '-t' # --allow-test-packages
}
# default site if not specified
if ( '${{ inputs.site }}' ) {
$sites = '${{ inputs.site }}'
Expand Down

0 comments on commit 9d87f98

Please sign in to comment.