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 bf5724f commit 85523ccCopy full SHA for 85523cc
.github/workflows/ci.yml
@@ -147,7 +147,17 @@ jobs:
147
with:
148
toolchain: ${{ env.RUST_VERSION }}
149
150
+ - name: Conditional check
151
+ id: conditional_check # We add an ID to reference this step
152
+ run: |
153
+ if [[ -n "${{ env.FUEL_CORE_PATCH_BRANCH }}" || -n "${{ env.FUEL_CORE_PATCH_REVISION }}" ]]; then
154
+ echo "should_publish=false" >> $GITHUB_OUTPUT
155
+ else
156
+ echo "should_publish=true" >> $GITHUB_OUTPUT
157
+ fi
158
+
159
- name: Publish crate check
160
+ if: steps.conditional_check.outputs.should_publish == 'true'
161
uses: FuelLabs/publish-crates@v1
162
163
dry-run: true
0 commit comments