Skip to content

Commit dc3a2d5

Browse files
authored
ci: ensure use bash shell for env (#2305)
1 parent ff6c700 commit dc3a2d5

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

.github/actions/setup-builder/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ runs:
2626
using: "composite"
2727
steps:
2828
- name: Setup specified Rust toolchain
29-
shell: bash
3029
if: ${{ inputs.rust-version != '' }}
30+
shell: bash
3131
env:
3232
RUST_VERSION: ${{ inputs.rust-version }}
3333
run: |

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ jobs:
172172
run: make docker-up
173173

174174
- name: Run tests
175+
shell: bash
175176
env:
176177
# Disable debug info to speed up compilation and reduce artifact size
177178
RUSTFLAGS: "-C debuginfo=0"

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
# Only publish if it's a tag and the tag is not a pre-release
6666
if: ${{ startsWith(github.ref, 'refs/tags/') && !contains(github.ref, '-') }}
6767
run: cargo publish --all-features # zizmor: ignore[use-trusted-publishing] -- https://github.com/apache/iceberg-rust/issues/1539
68+
shell: bash
6869
env:
6970
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
7071

.github/workflows/release_python.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
- name: Validate release tag format
5050
id: validate
5151
# Valid formats: v<major>.<minor>.<patch> OR v<major>.<minor>.<patch>-rc.<release_candidate>
52+
shell: bash
5253
env:
5354
RELEASE_TAG: ${{ inputs.release_tag }}
5455
run: |
@@ -119,6 +120,7 @@ jobs:
119120
# doing this explicitly to avoid issue in Windows where `mv` does not overwrite existing file
120121
rm Cargo.toml
121122
mv Cargo.toml.tmp Cargo.toml
123+
shell: bash
122124
env:
123125
NEEDS_VALIDATE_RELEASE_TAG_OUTPUTS_CARGO_VERSION: ${{ needs.validate-release-tag.outputs.cargo-version }}
124126

@@ -161,6 +163,7 @@ jobs:
161163
- name: Set cargo version for RC
162164
if: ${{ needs.validate-release-tag.outputs.is-rc == 'true' }}
163165
working-directory: "bindings/python"
166+
shell: bash
164167
env:
165168
CARGO_VERSION: ${{ needs.validate-release-tag.outputs.cargo-version }}
166169
run: |

0 commit comments

Comments
 (0)