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 0499ef3 commit 0020ed3Copy full SHA for 0020ed3
.github/workflows/publish-rust-crate.yml
@@ -123,13 +123,7 @@ jobs:
123
LEVEL=${{ inputs.level }}
124
fi
125
126
- if [ "${{ inputs.dry_run }}" == "true" ]; then
127
- OPTIONS="--dry-run"
128
- else
129
- OPTIONS=""
130
- fi
131
-
132
- ./scripts/publish-rust.sh ${{ inputs.package_path }} $LEVEL $OPTIONS
+ DRY_RUN="${{ inputs.dry_run }}" ./scripts/publish-rust.sh ${{ inputs.package_path }} $LEVEL $OPTIONS
133
134
- name: Create GitHub release
135
if: inputs.create_release == 'true' && inputs.dry_run != 'true'
0 commit comments