Skip to content

Commit 60e223b

Browse files
committed
fix: conditionally run the publish crates check
1 parent bf5724f commit 60e223b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,14 @@ jobs:
147147
with:
148148
toolchain: ${{ env.RUST_VERSION }}
149149

150+
- name: Conditional run of the action
151+
run: |
152+
if [[ -n "${{ env.FUEL_CORE_PATCH_BRANCH }}" || -n "${{ env.FUEL_CORE_PATCH_REVISION }}" ]]; then
153+
echo "Skipping publish crates check"
154+
else
155+
echo "Running publish crates check"
156+
fi
157+
150158
- name: Publish crate check
151159
uses: FuelLabs/publish-crates@v1
152160
with:

0 commit comments

Comments
 (0)