Skip to content

Commit 08019d2

Browse files
committed
ci: build js library template on windows
1 parent 05ece3e commit 08019d2

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build-templates.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ jobs:
4242
type:
4343
name: library
4444
language: js
45+
- os: windows-latest
46+
type:
47+
name: library
48+
language: js
4549

4650
concurrency:
4751
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.type.name }}-${{ matrix.type.language }}
@@ -62,9 +66,13 @@ jobs:
6266
6367
- name: Get working directory
6468
run: |
65-
echo "work_dir=${{ matrix.os }}-${{ matrix.type.name }}-${{ matrix.type.language }}" >> $GITHUB_ENV
69+
WORK_DIR=${{ matrix.os }}-${{ matrix.type.name }}-${{ matrix.type.language }}
70+
71+
echo "work_dir=${WORK_DIR}" >> $GITHUB_ENV # Linux & macOS
72+
echo "work_dir=${WORK_DIR}" >> $Env:GITHUB_ENV # Windows
6673
6774
- name: Create library
75+
shell: bash
6876
run: |
6977
rm -rf ${{ env.work_dir }} # Workaround for tests failing intermittently
7078

0 commit comments

Comments
 (0)