Skip to content

Commit

Permalink
move shell to top
Browse files Browse the repository at this point in the history
  • Loading branch information
joergi committed Sep 30, 2024
1 parent 63b578b commit 93ce7b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/testing-regular-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,22 @@ jobs:
shell: bash
- name: some Windows specifc variables
if: contains(matrix.os, 'windows')
shell: bash
run: |-
echo "in windows if"
echo "OS_PATH=windows" >> $GITHUB_ENV
echo "OS_FILE_EXTENTION=ps" >> $GITHUB_ENV
echo "OS_SHELL=pwsh" >> $GITHUB_ENV
shell: bash
- name: some NON Windows specifc variables
if: !contains(matrix.os, 'windows')
shell: bash
run: |-
echo "in NON windows if"
echo "OS_PATH=linux_mac" >> $GITHUB_ENV
echo "OS_FILE_EXTENTION=sh" >> $GITHUB_ENV
echo "OS_SHELL=bash" >> $GITHUB_ENV
shell: bash
- name: print out vars
id: printOutVars
shell: ${{ env.OS_SHELL }}
Expand Down

0 comments on commit 93ce7b5

Please sign in to comment.