We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df4f131 commit 6518924Copy full SHA for 6518924
.github/workflows/publish-rust.yml
@@ -176,8 +176,8 @@ jobs:
176
shell: bash
177
run: |
178
set +e # toml crashes the whole shell if it fails to find the key
179
- result=$(toml get "${{ inputs.package-path }}/Cargo.toml" lib.crate-type)
180
- if [[ "$result" == *"proc-macro"* ]]; then
+ result=$(toml get "${{ inputs.package-path }}/Cargo.toml" lib.proc-macro)
+ if [[ "$result" == *"yes"* ]]; then
181
echo "is_proc_macro=true" >> "$GITHUB_OUTPUT"
182
else
183
echo "is_proc_macro=false" >> "$GITHUB_OUTPUT"
0 commit comments