Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleidukos committed Mar 7, 2024
1 parent 17003e8 commit 10e7842
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,27 @@ runs:
wget -q https://github.com/Kleidukos/get-tested/releases/download/v${{ inputs.version }}/get-tested-${{ inputs.version }}-linux-amd64 -O get-tested
chmod +x get-tested
if [ -n ${{ inputs.windows-version }} ]
echo "::debug:: ${{ inputs.macos-version }}"
echo "::debug:: ${{ inputs.windows-version }}"
echo "::debug:: ${{ inputs.ubuntu-version }}"
if [[ -n ${{ inputs.windows-version }} ]]
echo "::debug:: Windows explicit enabled: ${{ inputs.windows-version }}"
then echo "WINDOWS=\"--windows-version=${{ inputs.windows-version }}\"" >> $GITHUB_ENV
elif [[ ${{ inputs.windows }} == "true" ]]
echo "::debug:: Windows fallback enabled: ${{ inputs.windows }}"
then echo "WINDOWS=--windows" >> $GITHUB_ENV
fi
if [ -n ${{ inputs.macos-version }} ]
if [[ -n ${{ inputs.macos-version }} ]]
echo "::debug:: macOS explicit version enabled: ${{ inputs.macos-version }}"
then echo "MACOS=\"--macos-version=${{ inputs.macos-version }}\"" >> $GITHUB_ENV
elif [[ ${{ inputs.macos }} == "true" ]]
echo "::debug:: macOS fallback enabled: ${{ inputs.macos }}"
then echo "MACOS=--macos" >> $GITHUB_ENV
fi
if [ -n ${{ inputs.ubuntu-version }} ]
if [[ -n ${{ inputs.ubuntu-version }} ]]
echo "::debug:: Ubuntu explicit version enabled: ${{ inputs.ubuntu-version }}"
then echo "UBUNTU=\"--ubuntu-version=${{ inputs.ubuntu-version }}\"" >> $GITHUB_ENV
elif [[ ${{ inputs.ubuntu }} == "true" ]]
Expand Down

0 comments on commit 10e7842

Please sign in to comment.