Skip to content

Commit

Permalink
fix: don't check for systemd support when distro is none
Browse files Browse the repository at this point in the history
  • Loading branch information
vedantmgoyal9 authored Nov 22, 2024
1 parent 301e387 commit 692b2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
echo "This action is only supported on Windows runners"
exit 1
shell: bash
- if: inputs.enable-systemd == 'true'
- if: inputs.enable-systemd == 'true' && inputs.distro != 'none'
run: |
# check if systemd is supported
if ((Get-ComputerInfo -Property OsName).OsName.Contains('2019')) {
Expand Down

0 comments on commit 692b2bc

Please sign in to comment.