[chore] add windows
This commit is contained in:
7
.github/workflows/github-actions-builder.yml
vendored
7
.github/workflows/github-actions-builder.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform: [ubuntu-latest,macos-latest]
|
platform: [ubuntu-latest,macos-latest,windows-latest]
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
steps:
|
steps:
|
||||||
@@ -17,7 +17,12 @@ jobs:
|
|||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
|
- id: set_var_win
|
||||||
|
if: matrix.platform == 'windows-latest'
|
||||||
|
run: |
|
||||||
|
choco install jq -y
|
||||||
- id: set_var
|
- id: set_var
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "VERSION_JSON=$(jq -c . < version.json)" >> $GITHUB_ENV
|
echo "VERSION_JSON=$(jq -c . < version.json)" >> $GITHUB_ENV
|
||||||
- name: install pnpm
|
- name: install pnpm
|
||||||
|
|||||||
Reference in New Issue
Block a user