Skip to content

Commit

Permalink
Action: Change shell path for x64 (windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
C02CR2E3ML85 committed Oct 5, 2020
1 parent 72d2077 commit d10d8b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set Windows shell
if: contains(matrix.os, 'windows')
run: |
npm config set script-shell "C:\\Program Files (x86)\\git\\bin\\bash.exe"
npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe"
- name: Install and build
run: |
Expand All @@ -44,21 +44,21 @@ jobs:
# npx rimraf "dist/!(*.exe|*.deb|*.AppImage|*.dmg)"

- name: Upload macOS artifacts
if: matrix.os == 'macOS-latest'
if: contains(matrix.os, 'macOS')
uses: actions/upload-artifact@v1
with:
name: ${{ matrix.os }}
path: build/mac

- name: Upload win artifacts
if: matrix.os == 'windows-2016'
if: contains(matrix.os, 'windows')
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.os }}
path: build/*.exe

- name: Upload linux artifacts
if: matrix.os == 'ubuntu-18.04'
if: contains(matrix.os, 'ubuntu')
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set Windows shell
if: contains(matrix.os, 'windows')
run: |
npm config set script-shell "C:\\Program Files (x86)\\git\\bin\\bash.exe"
npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe"
- name: Install, compile and test
run: |
Expand Down

0 comments on commit d10d8b5

Please sign in to comment.