diff --git a/action.yml b/action.yml index 41f8e8c..c746aee 100644 --- a/action.yml +++ b/action.yml @@ -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" @@ -141,6 +139,8 @@ runs: EOM } + resolver_nightly= + if ! has_resolver && [[ "${{ inputs.stack-yaml }}" == 'stack-nightly.yaml' ]]; then resolver_nightly='--resolver nightly' fi