Skip to content

Commit

Permalink
fix: set default shell for windows workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Oct 10, 2021
1 parent d0ef10a commit 7a85874
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
jobs:
windows:
runs-on: windows-2016
defaults:
run:
shell: bash
env:
VSCODE_ARCH: ${{ matrix.vscode_arch }}
OS_NAME: 'windows'
Expand Down Expand Up @@ -44,22 +47,18 @@ jobs:
RELEASE_VERSION: ${{ secrets.RELEASE_VERSION }}
VSCODIUM_LATEST: ${{ secrets.VSCODIUM_LATEST }}
run: ./get_repo.sh
shell: bash

- name: Prepare VSCodium
run: ./prepare.sh
shell: bash

- name: Check existing VSCodium tags/releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: ./vscodium
run: ./check_tags.sh
shell: bash

- name: Get Source Version
run: ./version.sh
shell: bash
if: env.SHOULD_BUILD == 'yes'

- name: Build
Expand All @@ -69,7 +68,6 @@ jobs:
npm_config_target_arch: ${{ matrix.vscode_arch }}
working-directory: ./vscodium
run: ./build.sh
shell: bash
if: env.SHOULD_BUILD == 'yes'

- name: Prepare artifacts
Expand All @@ -88,7 +86,6 @@ jobs:
working-directory: ./vscodium
if: env.SHOULD_BUILD == 'yes'
run: ./update_version.sh
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
GITHUB_USERNAME: ${{ github.repository_owner }}
Expand Down

0 comments on commit 7a85874

Please sign in to comment.