Skip to content

Commit c27ab18

Browse files
committed
Remove use of expressions inside if
1 parent 7bdc64f commit c27ab18

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/actions/create-dev-env/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
uses: actions/setup-python@v4
1212
with:
1313
python-version: 3.x
14-
if: ${{ runner.arch == 'X64' }}
14+
if: runner.arch == 'X64'
1515

1616
- name: Install Dev Dependencies 📦
1717
run: |

.github/workflows/docker-build-test-upload.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# Also, they might have running or stopped containers,
3939
# which are not cleaned up by `docker system prun`
4040
- name: Reset docker state and cleanup artifacts 🗑️
41-
if: ${{ inputs.platform != 'x86_64' }}
41+
if: inputs.platform != 'x86_64'
4242
run: |
4343
docker kill $(docker ps --quiet) || true
4444
docker rm $(docker ps --all --quiet) || true
@@ -47,14 +47,14 @@ jobs:
4747
shell: bash
4848

4949
- name: Load parent built image to Docker 📥
50-
if: ${{ inputs.parentImage != '' }}
50+
if: inputs.parentImage != ''
5151
uses: ./.github/actions/load-image
5252
with:
5353
image: ${{ inputs.parentImage }}
5454
platform: ${{ inputs.platform }}
5555

5656
- name: Pull ubuntu:22.04 image 📥
57-
if: ${{ inputs.parentImage == '' }}
57+
if: inputs.parentImage == ''
5858
run: docker pull ubuntu:22.04
5959
shell: bash
6060

0 commit comments

Comments
 (0)