Skip to content

Commit

Permalink
ci: Use only first ten characters of SHA to avoid duplicate builds
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Apr 24, 2024
1 parent 24ca573 commit 5c6cbaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/MainDistributionPipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
sed -nr '/^#define DUCKDB_SOURCE_ID "(.*)"/s//\1/p'
gh api /repos/duckdb/duckdb/tags --jq '.[].commit.sha' | head -n 2
} | uniq | jq -c -R '{version: [inputs|scan(".+")]}'
} | cut -c-10 | uniq | jq -c -R '{version: [inputs|scan(".+")]}'
)
echo $matrix
echo $matrix | jq .
Expand Down

0 comments on commit 5c6cbaa

Please sign in to comment.