We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 983e489 commit f3f07d4Copy full SHA for f3f07d4
.github/workflows/update-oss-licenses-dist.yml
@@ -36,6 +36,11 @@ jobs:
36
- name: Fetch latest changes from remote
37
run: git fetch origin main
38
39
+ - name: Set shell type
40
+ if: matrix.os == 'windows-latest'
41
+ run: echo "SHELL_TYPE=bash" >> $GITHUB_ENV
42
+ shell: bash
43
+
44
- name: Compare files
45
id: compare-files
46
run: |
@@ -44,7 +49,7 @@ jobs:
49
else
50
echo "files_changed=false" >> $GITHUB_ENV
51
fi
47
- shell: ${{ matrix.os == 'windows-latest' && 'bash' || 'sh' }}
52
+ shell: ${{ env.SHELL_TYPE || 'sh' }}
48
53
54
- name: Create Pull Request
55
if: env.files_changed == 'true'
0 commit comments