Skip to content

Commit

Permalink
action.yml: Stop defaulting to dmd-latest as the D compiler
Browse files Browse the repository at this point in the history
There is already code in the action that picks between dmd-latest and
ldc-latest based on the CPU architecture when a D compiler is not
specified. Having the default value in action.yml prevented this code
from ever running. This leads to users receiving an error message and
having to specify `dc: ldc` manually.

Bug: dlang-community#78

Signed-off-by: Andrei Horodniceanu <[email protected]>
  • Loading branch information
the-horo committed Jul 13, 2024
1 parent 5416293 commit fb976cf
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 @@ -4,7 +4,7 @@ author: "Mihails Strasuns"
inputs:
compiler:
description: "Compiler version string, for example 'dmd-latest' or 'ldc-1.20.1'"
default: "dmd-latest"
required: false
dub:
description: "DUB version string, for example 'latest' or '1.29.0'"
required: false
Expand Down

0 comments on commit fb976cf

Please sign in to comment.