Skip to content

Commit

Permalink
try fix string interpolation
Browse files Browse the repository at this point in the history
Signed-off-by: Thing-han, Lim <[email protected]>
  • Loading branch information
potsrevennil authored and hanno-becker committed Sep 13, 2024
1 parent 16270d8 commit dcf7e52
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/actions/bench/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,12 @@ runs:
EOF
- name: Set shell
shell: bash
run: echo SHELL="${{ inputs.nix-shell != '' && 'nix develop .#${{ inputs.nix-shell }} -c bash -e {0}' || inputs.custom_shell }}" >> $GITHUB_ENV
run: |
if [[ ${{ inputs.nix-shell }} != '' ]]; then
echo SHELL="nix develop .#${{ inputs.nix-shell }} -c bash -e {0}" >> $GITHUB_ENV
else
echo SHELL="${{ inputs.custom_shell }}" >> $GITHUB_ENV
fi
- name: Run benchmark
shell: ${{ env.SHELL }}
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/actions/functest/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ runs:
EOF
- name: Set shell
shell: bash
run: echo SHELL="${{ inputs.nix-shell != '' && 'nix develop .#${{ inputs.nix-shell }} -c bash -e {0}' || inputs.custom_shell }}" >> $GITHUB_ENV
run: |
if [[ ${{ inputs.nix-shell }} != '' ]]; then
echo SHELL="nix develop .#${{ inputs.nix-shell }} -c bash -e {0}" >> $GITHUB_ENV
else
echo SHELL="${{ inputs.custom_shell }}" >> $GITHUB_ENV
fi
- name: Run functional tests
id: func_test
shell: ${{ env.SHELL }}
Expand Down
7 changes: 6 additions & 1 deletion .github/actions/lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ runs:
EOF
- name: Set shell
shell: bash
run: echo SHELL="${{ inputs.nix-shell != '' && 'nix develop .#${{ inputs.nix-shell }} -c bash -e {0}' || inputs.custom_shell }}" >> $GITHUB_ENV
run: |
if [[ ${{ inputs.nix-shell }} != '' ]]; then
echo SHELL="nix develop .#${{ inputs.nix-shell }} -c bash -e {0}" >> $GITHUB_ENV
else
echo SHELL="${{ inputs.custom_shell }}" >> $GITHUB_ENV
fi
- name: Run linter
shell: ${{ env.SHELL }}
run: |
Expand Down

0 comments on commit dcf7e52

Please sign in to comment.