Skip to content

Commit

Permalink
Only create native distributions for generic targets
Browse files Browse the repository at this point in the history
  • Loading branch information
garyttierney committed Oct 13, 2024
1 parent d63fe4d commit e63e0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
echo "docker_distributions=$docker_distributions" >> "$GITHUB_OUTPUT"
- id: plan
run: |
native_distributions=$(cargo metadata --format-version=1 | jq -c '.metadata.distributions')
native_distributions=$(cargo metadata --format-version=1 | jq -c '.metadata.distributions | map(select(.generic == true))')
echo "native_distributions=$native_distributions" >> "$GITHUB_OUTPUT"
- id: version
run: echo "version=$(cargo pkgid | cut -d '@' -f2)" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit e63e0d1

Please sign in to comment.