Skip to content

Commit

Permalink
Update action.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstew authored Oct 9, 2023
1 parent db31547 commit bb751bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-autopkg/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ inputs:
description: "Should this set the windows powershell execution policy?"
required: true
# only needed on self hosted windows runners, but no harm otherwise:
default: "true"
default: true

runs:
using: "composite"
steps:
# only needed on self hosted windows runners:
- name: set powershell execution policy CurrentUser
if: runner.os == 'Windows' && inputs.set-powershell-policy == 'true'
if: runner.os == 'Windows' && inputs.set-powershell-policy
shell: cmd
run: powershell -command "Set-ExecutionPolicy -Force -ExecutionPolicy RemoteSigned -Scope CurrentUser"

Expand Down

0 comments on commit bb751bd

Please sign in to comment.