Skip to content

Commit 6e22048

Browse files
committed
Remove explicit shell specification from CI steps
Eliminated redundant 'shell: bash' lines from multiple workflow steps in .github/workflows/ci.yml to simplify configuration and rely on default shell behavior.
1 parent 6d63ebb commit 6e22048

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
cache: true
3636

3737
- name: Run tests
38-
shell: bash
3938
working-directory: "src/serious_python/example/flet_example"
4039
run: |
4140
dart run serious_python:main package app/src --platform Darwin --requirements flet
@@ -66,7 +65,6 @@ jobs:
6665
wait_for_boot: true
6766

6867
- name: Run tests
69-
shell: bash
7068
working-directory: "src/serious_python/example/flet_example"
7169
run: |
7270
dart run serious_python:main package app/src --platform iOS --requirements flet
@@ -139,7 +137,6 @@ jobs:
139137
cache: true
140138

141139
- name: Run tests
142-
shell: bash
143140
working-directory: "src/serious_python/example/flet_example"
144141
run: |
145142
dart run serious_python:main package app/src --platform Windows --requirements flet
@@ -179,7 +176,6 @@ jobs:
179176
cache: true
180177

181178
- name: Install dependencies
182-
shell: bash
183179
run: |
184180
sudo apt-get update --allow-releaseinfo-change
185181
sudo apt-get install -y xvfb libgtk-3-dev
@@ -211,7 +207,6 @@ jobs:
211207
fi
212208
213209
- name: Run tests
214-
shell: bash
215210
working-directory: src/serious_python/example/flet_example
216211
run: |
217212
dart run serious_python:main package app/src --platform Linux --requirements flet
@@ -244,7 +239,6 @@ jobs:
244239
cache: true
245240

246241
- name: Compute PKG_VER
247-
shell: bash
248242
run: |
249243
if [[ "$GITHUB_REF" == refs/tags/* ]]; then
250244
# Extract the tag name
@@ -274,10 +268,9 @@ jobs:
274268
PUB_DEV_TOKEN: ${{ secrets.PUB_DEV_TOKEN }}
275269
run: |
276270
mkdir -p $HOME/.config/dart
277-
echo "$PUB_DEV_TOKEN" | base64 --decode > $HOME/.config/dart/pub-credentials.json
271+
echo "${{ secrets.PUB_DEV_TOKEN }}" | base64 --decode > $HOME/.config/dart/pub-credentials.json
278272
279273
- name: Patch pubspec versions
280-
shell: bash
281274
working-directory: "src"
282275
run: |
283276
for pkg in \
@@ -292,7 +285,6 @@ jobs:
292285
done
293286
294287
- name: Publish packages
295-
shell: bash
296288
run: |
297289
publish_pkg () {
298290
pushd "$1" >/dev/null

0 commit comments

Comments
 (0)