Skip to content

Commit

Permalink
Fix stupid tabs/spaces issue and provide another default value
Browse files Browse the repository at this point in the history
  • Loading branch information
TomWerner committed Jan 5, 2025
1 parent 0d92ad9 commit f6e8575
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/composite/buildSetup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ runs:
using: "composite"
steps:
- name: Optionally set BUILD_SUFFIX
# Determine if this is a debug build, defaulting to true if
# the github inputs aren't present, as is the case for
# automatically triggered runs.
# See https://dev.to/mrmike/github-action-handling-input-default-value-5f2g.
INPUT_IS_DEBUG_BUILD=${{ github.event.inputs.debug-build }}
# Determine if this is a debug build, defaulting to true if
# the github inputs aren't present, as is the case for
# automatically triggered runs.
# See https://dev.to/mrmike/github-action-handling-input-default-value-5f2g.
INPUT_IS_DEBUG_BUILD=${{ github.event.inputs.debug-build }}
IS_DEBUG_BUILD=${INPUT_IS_DEBUG_BUILD:-"true"}

shell: bash
Expand Down Expand Up @@ -40,9 +40,13 @@ runs:
apt-get update -qq
apt-get install -y dotnet-sdk-7.0
- name: Set FOLDER_NAME
# As with the IS_DEBUG_BUILD arg, provide a default for CI runs.
INPUT_FOLDER_SUFFIX=${{ github.event.inputs.folder-suffix }}
FOLDER_SUFFIX=${INPUT_FOLDER_SUFFIX:-"automatic_build"}

shell: bash
run: |
echo "FOLDER_NAME=${EXPORT_NAME}${{ github.event.inputs.folder-suffix }}${GH_USERNAME}${BUILD_TIME}" >> $GITHUB_ENV
echo "FOLDER_NAME=${EXPORT_NAME}${{ FOLDER_SUFFIX }}${GH_USERNAME}${BUILD_TIME}" >> $GITHUB_ENV
- name: Setup
shell: bash
run: |
Expand Down

0 comments on commit f6e8575

Please sign in to comment.