Skip to content

Commit

Permalink
tune logic for default
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Jan 7, 2025
1 parent be16613 commit 77b70d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
export TARGET_TRIPLET="${arch}_${{ inputs.compiler }}"
echo "TARGET_TRIPLET=${TARGET_TRIPLET}" >> "$GITHUB_ENV"
cp spack.lock "spack_${TARGET_TRIPLET}.lock"
if [ "${{ inputs.default }}" != "" ]; then
if [ "${{ inputs.default }}" == "true" ]; then
# this will be become the default combination for this architecture
cp spack.lock "spack_${arch}.lock"
fi
Expand Down

0 comments on commit 77b70d2

Please sign in to comment.