Skip to content

Commit 0d5f2e4

Browse files
committed
Merge branch 'main' into dev007
2 parents 6de960c + cdf1e86 commit 0d5f2e4

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/windows-build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3+
4+
# This is copied from the mac action (that works) and replaced runs-on to be windows
5+
# currently just testing to see if it works.
6+
7+
name: Node.js Build Windows
8+
9+
on:
10+
workflow_dispatch:
11+
inputs:
12+
tags:
13+
description: 'DOIT'
14+
required: false
15+
type: boolean
16+
17+
jobs:
18+
build:
19+
20+
runs-on: windows-latest
21+
22+
steps:
23+
- uses: actions/checkout@v3
24+
- name: Use Node.js
25+
uses: actions/setup-node@v3
26+
with:
27+
node-version: '20.x'
28+
cache: 'npm'
29+
- name: Install env
30+
run: npm run init
31+
- name: Build Output
32+
run: npm run build
33+
- uses: actions/upload-artifact@v4
34+
with:
35+
name: hunterlog
36+
path: dist

0 commit comments

Comments
 (0)