Skip to content

Commit

Permalink
refactor: move variable down
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Jan 22, 2024
1 parent 3473aba commit 02124ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ runs:
shell: bash
working-directory: ${{ inputs.working-directory }}
run: |
resolver_nightly=
echo "stack-build-arguments-build= ${{ inputs.stack-build-arguments }} ${{ inputs.stack-build-arguments-build }}" >>"$GITHUB_OUTPUT"
echo "stack-build-arguments-dependencies=${{ inputs.stack-build-arguments }} ${{ inputs.stack-build-arguments-dependencies }}" >>"$GITHUB_OUTPUT"
echo "stack-build-arguments-test= ${{ inputs.stack-build-arguments }} ${{ inputs.stack-build-arguments-test }}" >>"$GITHUB_OUTPUT"
Expand All @@ -141,6 +139,8 @@ runs:
EOM
}
resolver_nightly=
if ! has_resolver && [[ "${{ inputs.stack-yaml }}" == 'stack-nightly.yaml' ]]; then
resolver_nightly='--resolver nightly'
fi
Expand Down

0 comments on commit 02124ca

Please sign in to comment.